Click to See Complete Forum and Search --> : login problem on slack 9.1


gofigr
04-20-2004, 11:49 AM
i just reinstalled slackware 9.1 on a laptop. the only things i have changed are:

installed ndiswrapper and wireless card
edit inittab to allow more consoles
edit securetty to allow root login on consoles
edit rc.local to activate wlan0 at startup and get dhcp
added two user accounts

restarted and now at login i type username (doesn't matter which) and press enter. i then get no prompt for password, but just a repeated 'login incorrect' message. the same happens if i boot 'linux single'.

i booted from cd, mounted the root partition and reset the inittab and securetty to normal. i still get the same thing. i tried a G4L search but nobody has the repeated message. any suggestions would be appreciated. reinstalling is an option, but then i'm gonna have to get my hands on a usb drive again.

btw the 'login incorrect' message repeats six times.

mdwatts
04-20-2004, 01:40 PM
Does this happen to both root and users?

gofigr
04-20-2004, 01:42 PM
doesn't matter which username i use. i only have 3 setup including root. 2 are just users. i still don't get a prompt for password.

JohnT
04-20-2004, 01:59 PM
What runlevel are you booting into? Are you on a network?

gofigr
04-20-2004, 02:11 PM
as a rule i normally boot to runlevel 3. i have also tried runlevel 1 to see if i could login as root or change the root password, but the same thing happens.

i'm not on a wired network, but at login it will have run the commands to put it on a wireless network.

JohnT
04-20-2004, 04:16 PM
Edit your /etc/inittab file. You should see some lines like:
c1:1235:respawn:/sbin/agetty 38400 tty1 linux
c2:1235:respawn:/sbin/agetty 38400 tty2 linux
c3:1235:respawn:/sbin/agetty 38400 tty3 linux
c4:1235:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux

Modify the line for tty3 to:
c3:1235:respawn:/sbin/getty 38400 tty3 linux (if the
complete line doesn't work..try "c3:1235:respawn:/sbin/agetty tty3"}

Save and reboot. After you've booted again and are ready to login
try logging in on that terminal, with Alt + F4.It won't operate completely correctly after login, but should allow a normal login.If it works, your
agetty program is the problem. If not, there may be a problem with the login itself or possibly the file /bin/login has been corrupted.

gofigr
04-20-2004, 05:00 PM
thanx,

i talked to a friend (the guy who showed me slack the first time) and he checked it out. he thought the login program may be corrupt so we re-installed some packages without formatting. now it lets me login in runlevel 1 but i've got some other issues to take care of. gave me homework. ;)