[plug] Unix file permission problem (I think)
Russell Steicke
r.steicke at bom.gov.au
Fri Jul 8 09:43:28 WST 2005
On Fri, Jul 08, 2005 at 09:13:24AM +0800, Steve Boak wrote:
> Would changing the group membership using 'sudo chmod ...' in the 'steve'
> xterm have worked as I expected? (I haven't set up sudo yet, as I am having
> trouble decoding the cryptic man page :-)
That depends what you expected. :) But the answer is probably no, as
it wouldn't have mattered how you changed the permissions on that
directory.
sudo can do lots of interesting things, but for a mostly one-user
system with no "operator" type users or such, you can get a basic
setup where steve can run any command by running visudo as root, and
copying the line "root ALL=(ALL) ALL" to "steve ALL=(ALL) ALL".
visudo runs your editor on /etc/sudoers, and also checks the syntax of
the file after you finish. If you don't like vi, try
EDITOR=anothereditor visudo
--
Russell Steicke
-- Fortune says:
"...a most excellent barbarian ... Genghis Kahn!"
-- _Bill And Ted's Excellent Adventure_
More information about the plug
mailing list