su command question
Alan Milnes
deep64blue at itguru.org.uk
Sat Jul 5 07:15:32 UTC 2008
Mario Vukelic wrote:
> On Fri, 2008-07-04 at 17:12 -0700, Smoot Carl-Mitchell wrote:
>> The original poster wanted the script to run as the
>> user "ventrilo" and *not* as the user "root".
>
> It's early in the morning and maybe there is a better solution, but it
> seems sensible to do the following if there isn't one:
>
> sudo su ventrilo -c "/etc/ventrilo/ventrilo_srv -d"
>
> The OP can the set up /etc/sudoers to allow running 'su ventrilo -c
> "/etc/ventrilo/ventrilo_srv -d"' without a password
He could do but it's just a long winded way of doing what I suggested!
Alan
More information about the ubuntu-users
mailing list