Results 1 to 5 of 5
Hi
Is it possible to have a user automatically logged in when the computer boots? I know there might be security issues and its not a great idea, but i ...
- 02-21-2005 #1Linux Newbie
- Join Date
- Nov 2004
- Posts
- 239
automatic logon
Hi
Is it possible to have a user automatically logged in when the computer boots? I know there might be security issues and its not a great idea, but i wont use it for root... Thing is, i have a pc which i dont really want a monitor and keyboard for, and at the moment the only thing i use them for is to log on at the start, and unfortuanatly i cant have the pc running all the time.
Any advice would be appriciated. Thanks.
- 02-21-2005 #2Linux Newbie
- Join Date
- Nov 2004
- Posts
- 239
sorry, one otherthing
I was looking for a way of doing it without having to use a graphical login manager, i only have 64mb memory and so its not great! although if that is the only way, advice on how to set that up would be aprciaited.
Thanks
- 02-21-2005 #3
I think you should be able to have /etc/rc.d/r.local call a script that would do it, but that is a guess
Brilliant Mediocrity - Making Failure Look Good
- 02-22-2005 #4Linux Newbie
- Join Date
- Nov 2004
- Posts
- 239
Yeah, thanks!
Incase anyone else wants to do it,
edit /etc/rc.d/rc.local
and add the following lines:
echo "auto login for username"
cd /home/username
su - username
just replace username with the username u want logged in.
Thanks for your help/
- 02-22-2005 #5
Just to let you know.
You don't need to be logged in to run it without a keyboard and monitor. It will run services just fine not logged in at allSome people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds


Reply With Quote
