Re: Second user/group handling draft

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

 



On Friday 11 May 2007, Bill Nottingham wrote:

> Why not just check the exit status of useradd? There is a specific
> exit status for 'user already exists'.

Possible, but would result in quite a bit of "useradd: user foo exists" noise 
on package upgrades or more complicated %pre scriptlets that filter out this 
particular error message but let others through.  useradd would benefit from 
an option similar to groupadd's -f.

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux