grub.conf

Luciano Rocha strange at nsk.no-ip.org
Wed Jul 11 13:14:55 UTC 2007


On Wed, Jul 11, 2007 at 12:57:17PM +0000, tony.chamberlain at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070711/f4ee078f/attachment-0001.sig>


More information about the fedora-list mailing list