Hi,
I was wondering if there is a way that you can
create a user on the fly if they dont exist in /etc/passwd, or if that is not
possible, can I somehow use a default user (i.e. nobody) if they don't exist in
/etc/passwd
What I want to do is set up xdm so that normal
users see nothing different, but if an account that doesn't exist locally, I
would like them to be validated by a remote RADIUS server and then either
created locally, or the local uid is set to the uid of as default
user
For example in /etc/pam.d/xdm, here is what I have
so far:
auth optional
/lib/security/pam_pwdb.so
auth optional
/lib/security/pam_radius_auth.so
auth required /lib/security/pam_nologin.so account required /lib/security/pam_pwdb.so password required /lib/security/pam_cracklib.so password required /lib/security/pam_pwdb.so shadow nullok use_authtok session required /lib/security/pam_pwdb.so session optional /lib/security/pam_console.so Any suggestions or comments are
appreciated.
Thanks in advance,
-Cam
|