Re: How to use temporary files?

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

 



On Mon, Sep 27, 2004 at 10:46:08AM -0500, leam wrote:
> Because I want to:
>   grep $i /etc/passwd || grep $i passwd.new >> /etc/passwd
> in the passwd, group, shadow, etc files. This lets me test if they're 
> already there and add them if not, preventing duplicate entries.

Why not just use useradd? There's tools designed to do exactly this.

-- 
Matthew Miller           mattdm@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux