Chadley Wilson
Greetings,
I apologise if you got this twice, seems I am experiencing smtp problems.
In 9.2 I could disable the user password using passwd -d <username>
9.3 doen't allow this, I need this feature for a specific terminal I run,
Okay -- I found out how to do this with 9.3 -- you have to modify the /etc/pam.d/common-account, common-auth, and common-session files to add nullok to the pam_unix2.so options. root@mmx:/etc/pam.d # diff -u common-account.~1~ common-account --- common-account.~1~ 2005-03-19 14:22:49.000000000 -0500 +++ common-account 2005-06-20 14:30:59.000000000 -0400 @@ -6,4 +6,4 @@ # the central access policy for use on the system. The default is to # only deny service to users whose accounts are expired. # -account required pam_unix2.so +account required pam_unix2.so nullok root@mmx:/etc/pam.d # diff -u common-auth.~1~ common-auth --- common-auth.~1~ 2005-03-19 14:22:49.000000000 -0500 +++ common-auth 2005-06-20 14:30:47.000000000 -0400 @@ -8,4 +8,4 @@ # traditional Unix authentication mechanisms. # auth required pam_env.so -auth required pam_unix2.so +auth required pam_unix2.so nullok root@mmx:/etc/pam.d # diff -u common-session.~1~ common-session --- common-session.~1~ 2005-03-19 14:22:49.000000000 -0500 +++ common-session 2005-06-20 14:29:36.000000000 -0400 @@ -7,4 +7,4 @@ # non-interactive). The default is pam_unix2. # session required pam_limits.so -session required pam_unix2.so +session required pam_unix2.so nullok
Would it also be possible to setup an autologin in runlevel 3 ? Yes terminal based not X based! :)
You might want to look into man 1 openvt, and man 1 chvt for this.