tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: getpwent and duplicate names in /etc/master.passwd

On Sun, 24 Jun 2012 18:53:57 -0400 (EDT)
Mouse <mouse%Rodents-Montreal.ORG@localhost> wrote:

> >> We're not supposed to edit the password file by hand?
> > You're supposed to at least use vipw.
> What is the correct way for a program to add a passwd file record?
> Fork vipw with a special-purpose program in $EDITOR?

Can usermod(8) be used for this?

Home | Main Index | Thread Index | Old Index