-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 M Azer wrote: > since i am using "template shell = /bin/bash" in my smb.conf all of our > users have access to the shell. how do i prevent certain users from being > able to login using the shell > > getent passwd cat > cat:*:10016:10002:cat:/home/CAD/cat:/bin/bash > how do i change the user "cat" shell to /sbin/nologin > > I know if the user was a local user /etc/passwd i could use "usermode -s > /sbin/nologin cat
The "require-membership-of" pam_winbind option is the most common solution. cheers, jerry ===================================================================== Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFr4l7IR7qMdg1EfYRAoTnAJ9SRyVnSPLzusAuzgYD4CB4cb/PKgCfWpvn 3oGvtnLiJNwwFm7aFd6C6js= =qOUH -----END PGP SIGNATURE----- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
