On Sat, Mar 02, 2002 at 06:21:32PM -0500, Samuel Davidoff wrote: > i'm trying to setup a machine to autologin as a user on startup. i've tried > to set inittab so that the following line respawns at runlevel 4 > > exec su -l -c startx user > > however i get a message that PAM authentication failed due to lack of > console ownership. > > i realize in general this is not secure, but the machine is in a safe > environment. > > how can i get pam_console to see this login as a console login? or is there > a better solution? Your PAM configuration for "su" probably doesn't use pam_console, so it may just be enough to add it. Try adding "session optional /lib/security/pam_console.so" to the end of /etc/pam.d/su and see if that helps. HTH, Nalin