Fwd: Access to vi a file?
George Meharry II
gmeharry at yahoo.com
Thu Apr 6 08:33:22 EDT 2000
Hey there Ryan ...
Assuming that you want to give access to a specific
file, there are a couple of ways to go about this ...
one is a straight command:
Another is a variation:
This one will let the user edit any file located in a
specific directory ...
Another version could look like:
This last version could be "dangerous" since it would
allow a user to edit any file in a specific
On the down side to all three examples, the user must
provide the full path to the file.
As a final thought, you could simply allow the user
This could be an acceptable version since the user
wouldn't need to provide the patht to the file. YOU
SHOULD KEEP IN MIND that "file name" shouldn't be a
special UNIX file (ex. passwd, shadow, system,
defaults, .rhosts, sudoers :-], ect.). You wouldn't
even want to think what could happen :-)
Note: forwarded message attached.
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
-------------- next part --------------
An embedded message was scrubbed...
From: Ryan Washington <RWashington at nas-corp.com>
Subject: Access to vi a file?
Date: Wed, 5 Apr 2000 09:02:20 -0400
More information about the sudo-users