[NTLUG:Discuss] scripting problem
    Carl Haddick 
    sysmail at glade.net
       
    Sat Mar  1 14:51:15 CST 2003
    
    
  
On Sat, Mar 01, 2003 at 10:27:40AM -0800, Fred wrote:
> How do I do this? I can't remember anything anymore
> 
> I want to add statements to the rc.local boot script that will start evolution
> owned by user x instead of root. 
> 
Could you do this with sudo, since rc.local runs as root?
If the command in question is 'foobar /usr/local/skippy.conf', run as user
pinhead, then:
sudo -u pinhead foobar /usr/local/skippy.conf
Sudo normally requires authentication, or an entry in sudoers - but
being root has its privileges.
-- 
Carl Haddick                                http://www.glade.net
GladeNet Communications             alt email: support at glade.net
200 South Red River                               (254) 562-6381
Mexia, TX 76667                                   (877) 373-3882
    
    
More information about the Discuss
mailing list