![]() |
how to boot slacker 14 where login is done automatically
hi all, I'm setting slackware 14 for my father.
but I think the logging in process maybe too complicated for him. can I know or which website I can refer to for steps to enable automatically log in as the user and as Well as not required to enter startx command to display the user interface thanks:) |
Create a file with that name autologin put this in that file
Code:
#include <unistd.h>Code:
gcc -o autologin autologin.cNext Code:
chown root:root /usr/local/sbin/autologinCode:
# These are the standard console login getties in multiuser mode:Code:
if [ -z "$DISPLAY" ] && [ $(tty) == "/dev/tty3" ]; then |
vitalstrike82,
That is easy enough, but first I'd suggest you check to make sure you have all the groups added to the user so your father can have access to the things he may need. My groups are: users lp wheel floppy dialout audio video cdrom plugdev power netdev scanner vboxusers Having that set properly you may want to shorten the initial boot screen to speed up his boot time. What you are looking to change is the timeout line in /etc/lilo.conf. Here it is set for 15 seconds. you will need to edit this file as root and then run lilo for the change to take effect. (I use 8 to 10 seconds for my setting.) Code:
# Append any additional kernel parameters:Graphical Login: REF: http://docs.slackware.com/slackware:beginners_guide To boot into the graphical environment, change this line in /etc/inittab. (Replace 3 with 4). Code:
# Default runlevel. (Do not set to 0 or 6)Larry |
Member Response
Hi,
From 'man lilo.conf'; Quote:
|
Member Response
Hi,
One other thing would be to add 'compact' to the global section to speed things up. Plus do not forget to run 'lilo' as root again; Code:
~# lilo -v -t -b /dev/Your_MBR_Device #this will test |
If you want auto login, configure the system boot into run level 4 (init 4) and use a login manager that supports auto login. That way you avoid a console login and typing anything.
If you want to keep using lilo as the boot manager, the default 2 minute wait is excessive. Change that time too. :) |
To login without giving a password what are the security issues? not locally, remotely? ...Or are there any?
|
Quote:
My preference is to use runlevel 4 and have slim as the login manager. |
thanks to all for the response. set up everything for my 70 yr old father.
now he can start the laptop with ease. thanks:) |
In response to humid, there are no remote security concerns affected by using autologin. The security aspects of the users' privileges are the same, no matter how he logs in.
|
Thanks gnashley, don't think I will go that route but was curious.
|
| All times are GMT -5. The time now is 09:27 PM. |