su command question
Alan Milnes
deep64blue at itguru.org.uk
Sat Jul 5 17:01:51 UTC 2008
Smoot Carl-Mitchell wrote:
> On Sat, 2008-07-05 at 13:51 +0100, Alan Milnes wrote:
>
>> In the end both ways work, both ways run it with root privileges, I
>> think my way is cleaner but this is Linux there's always more than one
>> option.
>
> No, my example runs it with the privileges of the user "ventrilo" which
> is quite different than running the command with root privileges.
Are you sure - the su is telling it to run with root privileges isn't
it? Maybe it's my RHEL background where scripts to start services etc
are normally programmatically run as root rather than as a user invoking
su privileges.
Alan
More information about the ubuntu-users
mailing list