[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: grub.conf



On Wed, Jul 11, 2007 at 12:57:17PM +0000, tony chamberlain lemko com wrote:
> Hi
> 
> Right now after our linux system is booted, the customer has to login and then run
> a program (standard linux procedure).
> 
> They were asking me whether there was some way to automatically during boot have the system
> login and run a program? I know bash_profile will take care of part of that, but the customer
> would still have to log in. Any ideas? Probably with grub.conf?

Is the program graphical? If not, then a line with:

su - -s /bin/sh user -c "program" < /dev/null &> /var/log/program.log &

in /etc/rc.local will take care of it.

-- 
lfr
0/0

Attachment: pgp7qwTxjyfqc.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]