delorie.com/archives/browse.cgi | search |
On Thu, Mar 06, 2003 at 12:50:01PM -0500, Pierre A. Humblet wrote: >Christopher Faylor wrote: > >> Couldn't you just keep track of the uids and ensure that you didn't >> duplicate any? > >Yes, absolutely. >However there is no guarantee that users won't call separately mkpasswd -l >and mkpasswd -d, or another mkpasswd -d other_domain, or mkpasswd -d -u >It would be desirable to return the same uid in all these cases. But why not just record whatever is already in /etc/passwd? Subsequent calls are just going to be appending to it, right? cgf
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |