PAM & NIS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--2EnvhqpWJq810sZn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 25, 2002 at 05:34:48PM -0300, Sergio Luiz Carmelo Barroso - pos=
doc wrote:

> In the old times (before PAM), when using NIS one was able to change the
> SHELL (that is, use a SHELL different from the one specified in the passwd
> database of the NIS server) used in one specific NIS client machine by
> adding a line to the passwd file of this NIS client machine like this:

> +::::::/bin/newshell

> By doing this all users of this specific NIS client machine would use the=
=20
> "/bin/newshell" SHELL instead of the one specified in the NIS server.

> After PAM, the line starting with "+" in the passwd file doesn't work=20
> anymore (the NIS database is searched by the PAM library, if I undesrtood=
=20
> it correctly). How can I change the SHELL using PAM?

PAM has no connection to how your system determines a user's shell.=20
What you actually want is 'passwd: compat' added to /etc/nsswitch.conf.

Regards,
Steve Langasek
postmodern programmer

--2EnvhqpWJq810sZn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9QGOcKN6ufymYLloRAq5ZAJwLHQTsvSlY5U8JP0JKRwJ8mQtugACgraHN
djfIQGFm0Losltf6IH8ESm0=
=OoJT
-----END PGP SIGNATURE-----

--2EnvhqpWJq810sZn--





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux