>>>>> "lh" == Lawrence Houston <[EMAIL PROTECTED]> writes:

  lh> RH Users: Last year Cristian asserts that LOGIN lost its support
  lh> for "/etc/usertty" when it was PAMified.  Within the context of
  lh> RH 4.2 this is appearently still the case, any ideas when it (or
  lh> an equivalent) might be re-instroduced?

It is not required.  You can just do it with PAM (that's the whole
point of PAM).   You could add a line like this to
/etc/pam.d/login:-

auth required /lib/security/pam_listfile.so \
   item=tty sense=allow apply=user file=/etc/usertty onerr=succeed

(That was all supposed to be on one line).   The idea of
"onerr=succeed" is that if /etc/usertty is missing, anybody can log in
on any tty.  See /usr/doc/pam*/html/pam.html for more details.

(This was done using PAM-0.59-5, but I suspect that the RH 4.2 version
of PAM will allow the same thing).


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to