chfn...can I??

Jonathan I. Kamens jik at athena.mit.edu
Thu Apr 4 06:19:18 AEST 1991


In article <SHAHRYAR.91Mar29123159 at sfsuvax1.sfsu.edu>, shahryar at 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 at Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710



More information about the Comp.unix.admin mailing list