Subject: Re: misc/11473: ramdisk-rescuesmall of main trunk is full.
To: Simon Burge <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
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" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."