su command question

Smoot Carl-Mitchell smoot at tic.com
Sat Jul 5 00:12:33 UTC 2008


On Sat, 2008-07-05 at 00:40 +0100, Alan Milnes wrote:
> Smoot Carl-Mitchell wrote:
> > This is incorrect.  The script will run with the privileges of a user in
> > the "root" group, instead of the user ventrilo. I am not sure what
> > happens with the above, since by default there are no users in the
> > "root" group.  You could do this, however:
> 
> Well I carefully tested it on my system and it works as expected - the 
> script runs as root, doesn't require a password and successfully carries 
> out the command.

Exactly my point.  The original poster wanted the script to run as the
user "ventrilo" and *not* as the user "root".
-- 
Smoot Carl-Mitchell
System/Network Architect
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list