entering "exec login <username>" gives the usual password prompt, but fails when the password is entered. The log file shows lynx login: setuid() failed If the <username> is root, then the command is successful, after entering the correct root password, but there is a message No directory /root! Logging in with home = "/".he message It appears that the login command is not executing setfsuid
Unlike many other programs (and many other unices), login is responsible for preserving the PAM session. This is done by an extra fork. Working out the pokery-jiggery necessary to permit exec login ... and login ... to function "normally" is not worth the effort.