No joy. That didn't do it, unless I need to reboot something. On Wed, Dec 19, 2012 at 03:24:00PM -0500, Mills-Curran, Bill wrote:
Date: Wed, 19 Dec 2012 15:24:00 -0500 From: Bill Mills-Curran <bill@mills-curran.net> To: Worcester Linux Users Group <wlug@mail.wlug.org> Cc: Worcester Linux Users Group <wlug@wlug.org> Subject: Re: [Wlug] Overriding NIS accounts Reply-To: Worcester Linux Users Group <wlug@mail.wlug.org> Precedence: list
Tim,
I /thought/ I tried that configuration, too. I'll give it another shot. I know that some systems need the "compat".
Bill
On Wed, Dec 19, 2012 at 03:13:21PM -0500, Tim Keller wrote:
Date: Wed, 19 Dec 2012 15:13:21 -0500 From: Tim Keller <turbofx@gmail.com> To: Worcester Linux Users Group <wlug@mail.wlug.org>, Bill Mills-Curran <bill@mills-curran.net>, Worcester Linux Users Group <wlug@wlug.org> Subject: Re: [Wlug] Overriding NIS accounts Reply-To: Worcester Linux Users Group <wlug@mail.wlug.org> Precedence: list
You need to have your passwd entry as: passwd: files nis Then it'll look at your local /etc/passwd, then nis. Thanks, Tim.
On Wed, Dec 19, 2012 at 1:18 PM, Bill Mills-Curran <bill@mills-curran.net> wrote:
I have an issue at my work with the configuration of one of our several flavors of linux servers.
The goal is to override the NIS-specified login directory definition by using this syntax in /etc/passwd:
+userx:::::/home/userx: +@grpx:::::: +::::::
/etc/nsswitch.conf has (in part):
passwd: * * compat shadow: * * files nis group: * * *files nis
The distribution is Red Hat Enterprise Linux Server release 5.2 (Tikanga).
If this was working I would get the following:
echo ~userx /home/userx
Instead, I'm getting the login dir specified in NIS.
I've successfully configured a Red Hat 6.3 server to work properly, but this one is driving me batty.
Any suggestions?
TIA, Bill _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
-- I am leery of the allegiances of any politician who refers to their constituents as "consumers".
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug