SUMMARY: NIS and local passwd override

From: Curr, Simon <scurr_at_sonusnet.com>
Date: Wed Jan 16 2002 - 08:52:49 EST
Thanks to John Riddoch, David Glass & Ralph Holm

Setting /etc/nsswitch.conf

passwd: compat 

does the trick.

That'll teach me to read the manpages more carefully :)

Cheers

Simon

> -----Original Message-----
> From: Curr, Simon [mailto:scurr@sonusnet.com]
> Sent: 16 January 2002 13:35
> To: 'sunmanagers@sunmanagers.org'
> Subject: NIS and local passwd override
> 
> 
> Hi
> 
> I'm trying to enable the ability in /etc/passwd to override 
> parameters from
> the NIS passwd file, so that we can enable specific users 
> from NIS to use
> specific machines and reject all others.
> 
> i.e. /etc/passwd
> +nisuser:x:0:0:local user:/local_home:/bin/ksh
> 
> from NIS map
> nisuser:encrypted:1344:101:Name - Ext:/export/home/nisuser:/bin/sh
> 
> This gives me a NIS login using the local password (from 
> /etc/shadow) and I
> get the correct UID and GID values from NIS, however I can't 
> seem to get the
> new local home directory or shell.
> 
> I can't find anything to say that you can't override the 
> home_dir or the
> default shell.
> 
> Has anybody had any success with this ? 
> Will summarise.
> 
> Cheers
> 
> Simon 
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Jan 16 07:54:18 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:32 EST