Focus on Linux
NIS with local root Jan 26 2003 12:28PM
Nicolas Justin (nicolas justin free fr) (1 replies)
Re: NIS with local root Jan 29 2003 09:25PM
Paulius M. (paulius pit ktu lt) (3 replies)
Re: NIS with local root Jan 30 2003 09:31AM
Kevin Jackson (kevin jackson genaware com) (4 replies)
Re: NIS with local root Jan 30 2003 04:48PM
Zow Terry Brugger (zow llnl gov)
Re: NIS with local root Jan 30 2003 04:47PM
Kevin Jackson (kevin jackson genaware com) (3 replies)
Re: NIS with local root Jan 31 2003 04:21PM
Brent J. Nordquist (b-nordquist bethel edu) (1 replies)
Re: NIS with local root Jan 31 2003 07:24PM
Kevin Jackson (kevin jackson genaware com) (3 replies)
Re: NIS with local root Jan 31 2003 10:15PM
Seth Arnold (sarnold wirex com)
Re: NIS with local root Jan 31 2003 09:02PM
Wallwork, Nathan (nwallwo pnm com) (1 replies)
Re: NIS with local root Jan 31 2003 09:51PM
Kevin Jackson (kevin jackson genaware com)
Re: NIS with local root Jan 31 2003 09:00PM
Nathan Yocom (nate yocom org)
Re: NIS with local root Jan 30 2003 10:46PM
Brian Hatch (focus-linux ifokr org)
Re: NIS with local root Jan 30 2003 10:31PM
Charles Clancy (security xauth net)
On Thu, 30 Jan 2003, Kevin Jackson wrote:

> but surely in such a situation where NIS and NFS is employed -- you
> won't be giving out root passwords to normal untrusted users anyway?!

The usual problem is when users have their own machines and want access to
the NFS network. They don't want to give up root on their own machines.

> I know sometimes it can't be avoided in some situations -- if that's the
> case then you may want to look at alternatives - NIS+ was mentioned.

NIS+ is not much more secure than NIS if you have root. In all the
installations I've seen, the only difference is that the NIS+ client won't
let normal users see the encrypted passwords (from "niscat
passwd.org_dir"). Plus, NIS+ support for Linux isn't entirely complete.

The real solution is to get rid of NIS and NFS, and replace them with AFS,
LDAP, and Kerberos. AFS does file access control at a user level, rather
than a host level. That means local root can't get access to your
files[1] -- only AFS admin can do that. The LDAP/Kerberos option means no
more unshadowed passwords floating around the network.

http://www.openafs.org
http://www.openldap.org
http://web.mit.edu/kerberos/www/

All are well supported under Linux (not to mention many other UNIXes, and
even the ability to interact almost seamlessly with Microsoft ADS).

--
[1] Well, he can try to steal your Kerberos credentials if you're logged
in to the machine, but he can't just "su".

[ t charles clancy ]--[ tclancy (at) uiuc (dot) edu [email concealed] ]--[ www.uiuc.edu/~tclancy ]

[ reply ]
Re: NIS with local root Jan 30 2003 04:39PM
Systems Group (Isaac) (isaacsys ee ucr edu)
Re: NIS with local root Jan 30 2003 04:30PM
Kilian CAVALOTTI (kilian cavalotti crans org)
Re: NIS with local root Jan 29 2003 10:36PM
Systems Administrator (sysadmin sunet com au)
Re: NIS with local root Jan 29 2003 10:29PM
Zow Terry Brugger (zow llnl gov)


 

Privacy Statement
Copyright 2010, SecurityFocus