Re: How to use temporary files?

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

 



On Mon, Sep 27, 2004 at 02:08:39PM -0500, leam wrote:
> > FYI: You should use useradd (groupadd) to portably create accounts.
> > useradd will fail if the account exists.  You still have an issue: 
> > if there's a chance the account was created by something else, you 
> > need a way to know whether userdel (groupdel) it on package
> > removal - same problem you have now with manually adding entries.
> useradd would have a problem with the passwords which I can avoid by 
> doing the same grep thing on shadow.new. We don't tend to mass remove 
> home directories though we do lock them if the user leaves. Thus 
> removal is not as much of an issue.

Wait -- you're creating an account _with a set password_???

Also, the issue is not (particularly) removal of the home directory, but
removal of the account at all.

> Should I assume that since no one has answered the actual question that 
> it can't be done?

Sure, you can do it. You can do _anything_. However, not everything is a
good idea.


-- 
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