[NTLUG:Discuss] scripting problem

Fred fredstevens at yahoo.com
Sat Mar 1 12:27:40 CST 2003


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. 

I can't remember how to make a script change users during its execution.
Something about forking a process, but I can't get around the 'forked child
processes are owned by the parent' crap

This is to automate a box on a Win LAN that, in concert with vncserver, will
allow anyone on the LAN to log in as user x and pull the mail. It can be done
with a root login, then su - userx, then start evolution, but I really don't
wan't everyone into to log in as root. When installed, the box will be off in a
corner with no monitor, keyboard or mouse.... just an ethernet cable to the
switch. By doing this, their network will be immune to all M$ email virii.

TIA,
Fred

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the Discuss mailing list