Subject: Re: misc/11473: ramdisk-rescuesmall of main trunk is full.
To: Simon Burge <firstname.lastname@example.org>
From: Andrew Brown <email@example.com>
Date: 11/13/2000 10:32:40
>> but /etc/passwd is only for human eyes...of how much use is it
>> supposed to be?
>Another solution I'm looking at is to change the getpwent() function in
>distrib/utils/libhack to use the master.passwd format - it currently
>uses plain passwd format.
would this imply the reintroduction of the setpwnam() library call?
that one was really really useful.
>Going back to the first thing James said - it occurs to me that we
>could easily use sed(1) to convert from master.passwd format to passwd
sed 's/:[^:]*:\([^:]*:[^:]*:\)[^:]*:[^:]*:[^:]*:/:*:\1/' \
/etc/master.passwd > /etc/passwd
|-----< "CODE WARRIOR" >-----|
firstname.lastname@example.org * "ah! i see you have the internet
email@example.com (Andrew Brown) that goes *ping*!"
firstname.lastname@example.org * "information is power -- share the wealth."