Image

Imageanivair wrote in Imagelinux

CentOS: logging in passwordless

Is it possible to log into CentOS without a password? Supposedly, removing the password entries from /etc/password and /etc/shadow will do it, but it didn't work for me. Is there a service that needs to be restarted before it will take, perhaps?

I know, that sets off many alarms, but this is actually a good idea. I have a system that is set up on the internal network only (no connection to the outside world). I'm running LTSP on it. Thge idea is that the users log into that server via an LTSP telnet connection and it asks them for their username. They don't have to input a password, so the system just takes their username and runs ssh user@our.server and that will ask for their password. then they're in. So the process doesn't change for them (enter username, enterpassword) but it changes on the inside. Nobody will have access to that machine (they'll get forwarded away from it right away) so it's working rather like an internal firewall.

Thoughts?