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