su command question

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


On Sat, 2008-07-05 at 12:51 -0500, Robert Dailey wrote:

> That's excellent, I didn't know that rc.local is run by root. That
> solves starting the server at boot time, however what if I want to
> issue the Ventrilo server start/stop commands without being prompted?
> Is this when I use "sudo su" together?

Just run:

sudo -u ventrilo <command>

Assuming you have sudo privileges, this will work without a password
prompt.
-- 
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