[TriLUG] how to unshadow

Paul D. Boyle boyle at laue.chem.ncsu.edu
Mon Nov 4 13:21:04 EST 2002


> Quick one I hope - - - im in a pinch - how do I unshadow my passwd 
> 	Is there a shell script - do I have to do it by hand - or is
> there a passwd argument

I wrote a little (sort of lame) C program to do this for an IRIX box
I have.  You can ftp from, 

ftp://ftp.xray.ncsu.edu/pub/irix/utils/pwunconv.c

compile it with -DLINUX in the gcc command line and you should be OK.

The code doesn't make any attempt to put exclusive locks on the files,
so if you are the paranoid type or your machine tends to have a lot of
users, run this code when you are in single user mode to be safe.

Paul

-- 
Paul D. Boyle			    |	boyle at laue.chem.ncsu.edu
Director, X-ray Structural Facility |	phone: (919) 515-7362
Department of Chemistry - Box 8204  |	FAX:   (919) 515-5079
North Carolina State University     |	http://www.xray.ncsu.edu  
Raleigh, NC, 27695-8204



More information about the TriLUG mailing list