Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2000 12:03:52 -0500 (EST)
From:      Nate Johnston <freebsd@jnternet.net>
To:        Evren Yurtesen <yurtesen@ispro.net.tr>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: root password in NIS maps
Message-ID:  <Pine.BSF.4.21.0008111158230.29027-100000@shell01.pns.net>
In-Reply-To: <Pine.BSF.4.21.0008111943090.10597-100000@finland.ispro.net.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Aug 2000, Evren Yurtesen wrote:

> I would like to have root password in NIS maps but there is only one
> problem. When I login to a client machine everything works fine. I can
> even use 'su' but when I use a command like 'ls -la' I see 0 for the UID
> field of the output.
> 
> Does anybody have root password in their NIS maps and it works fine? if
> yes then how???

Having the password for user 'root' in your NIS maps is really a bad
idea.  What happens if the machine fails, and for some reason it can't
connect to the NIS server?  What happens when you want to use the server
in single-user mode? 

probably the best thing to do is this: leave 'root' as a local UID 0 user
as usual.  On your NIS server, create a new user that also has UID 0, but
with a centrally controlled password.  Then, the local root will assert
itself in all the usual ways (UID mapping, single-user-mode passwords),
but you will be able to control root logins.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008111158230.29027-100000>