Click to See Complete Forum and Search --> : No Password


friend621
11-08-2001, 11:54 AM
Hi, pardon me if this sounds stupid.
I want to make my box to login without any password. It is a 386 running a stripped redhat 6.2 with customised 2.2.15 kernel. Its about 35 Meg in total disk space with mysql server being the only main program running. To strip it further down, I wanted to delete all the security pamd libraries and other files related to it. First I went into the /etc/passwd file and removed the password section of the root login line. Rebooted the machine and logged in without any password with just the login name. Now I went ahead and deleted the pamd libraries and other pam related files. Now when I reboot, I am unable to login at all. Any tips that I can acheive my goal.


Also, I wanted to delete some of the shared libraries in the /lib and /usr/lib dirs. Is there a place I can find out what each library supports so I can find out if I need it or not.

Thanks.

[ 08 November 2001: Message edited by: friend621 ]

lm72
11-08-2001, 12:09 PM
A 386 running MySQL did get this right.
Why do you not try something along the lines of Peanut Linux etc...
And you should not have the deleted pam libraries.
That why you can't login anymore.


Regards,

Alex :)

[ 08 November 2001: Message edited by: lm72 ]

friend621
11-08-2001, 12:19 PM
I did try the other mini distros but ran into other problems with things that we want to do. I understand that I should not have deleted pam libs. My question is when I do not need a password to login, why do I need libraries for authentication?

Thanks.

Strike
11-08-2001, 01:53 PM
Because processes still have to run as a certain user. You shouldn't have to log in to run mysql, just run it via SysV init. If you get rid of all login capability, you will have to reinstall to fix problems or update/upgrade anything.

friend621
11-08-2001, 02:06 PM
I understand that the processes need you to be a user to run. My question is about the password and its authenctication libraries.

Thanks