Newsgroups: comp.unix.admin
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik
From: jik@athena.mit.edu (Jonathan I. Kamens)
Subject: Re: chfn...can I??
Message-ID: <1991Apr3.201918.20612@athena.mit.edu>
Sender: news@athena.mit.edu (News system)
Organization: Massachusetts Institute of Technology
References:  <SHAHRYAR.91Mar29123159@sfsuvax1.sfsu.edu>
Date: Wed, 3 Apr 91 20:19:18 GMT
Lines: 20

In article <SHAHRYAR.91Mar29123159@sfsuvax1.sfsu.edu>, shahryar@sfsuvax1.SFSU.EDU (Persian Nightmare) writes:
|> In chfn, could I turn off the ability to change the REAL name unless done
|> bye a superuser??  How is it possible??

  Get a the sources to a version of passwd/chfn/chsh and recompile it after
modifying it to restrict as you want.

  There are several versions floating around the net.  There's probably also
code in /bsd-sources on ftp.uu.net, or on many other sites.  You might also
want to check out /pub/npasswd or /pub/mnt/source/ut/npasswd (both
directories) on emx.utexas.edu.  I found those using archie.

  If you're on a SysV type system, you might be able to use the chfn in the
comp.sources.unix archives.

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710
