Article View: comp.sys.next.sysadmin
Article #1743Re: How to prevent an nidump of the passwd's?
From: Louis A. Mamakos
Date: Sun, 04 Oct 1992 15:03
Date: Sun, 04 Oct 1992 15:03
30 lines
2048 bytes
2048 bytes
In article <BvK45x.Ao0@news.cso.uiuc.edu> jeffo@uiuc.edu (J.B. Nicholson-Owens) writes: >Other than making the 'nidump' command unavailable via removing the read and >execute permissions (which really wouldn't help if someone were to get the >command from somewhere else), how can the password data be protected from being >read by just anyone on the system? That is, what needs to be changed so that >the passwords come out either with asterisks for where the real encrypted >password would be or just making the entire output from 'nidump passwd /' >unavailable? You can protect access to netinfo based on IP address. This protects your host from random folks on the Internet doing: $ nidump -t passwd uiuc.edu/local to get your password file entries. See the security chapter in the NeXT system admin documentation to explain how to fix this problem. I'm assuming that you want to protect the encrypted password from users on the same machine that the password is being used on. You can't, using the standard NeXT supplied software. The NeXT software has no concept of a shadow password file where the actual encrypted passwords lie. Removing nidump/niutil/etc won't do any good, because all you need to do then is write a trival program to use getpwent() to fetch them all. We've moved to a Kerberos based authentication system on our NeXTs, in conjunction with AFS. This has necessitated building new versions of login, ftpd, loginwindow, etc. This is quite a lot of work. louie
Technical Details
Message-ID:
<1992Oct4.150311.6898@ni.umd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!haven.umd.edu!ni.umd.edu!sayshell.umd.edu!louieReferences:
<BvK45x.Ao0@news.cso.uiuc.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!haven.umd.edu!ni.umd.edu!sayshell.umd.edu!louie From: louie@sayshell.umd.edu (Louis A. Mamakos) Subject: Re: How to prevent an nidump of the passwd's? Message-ID: <1992Oct4.150311.6898@ni.umd.edu> Sender: usenet@ni.umd.edu (USENET News System) Nntp-Posting-Host: sayshell.umd.edu Organization: University of Maryland, College Park References: <BvK45x.Ao0@news.cso.uiuc.edu> Date: Sun, 4 Oct 1992 15:03:11 GMT Lines: 32