Closed koenpunt closed 11 years ago
We've always used adduser and I think it would surprise users and break a lot of scripts to switch now since we encourage users to pass custom flags. I'm not against the other, just not sure it make sense to switch mid-stream unless there is some real benefit.
My thoughts on adduser
is that it is more of an interactive utility where useradd
is more of a system command. And in the user installer it is never user interactively right?
Although it's a valid argument that people are already using this..
I agree in general, but we've fixed the interactive issue... so if this is in use and keeping people happy I don' see a reason to spend time changing it unless you want to babysit the slow depreciation and switch over across multiple versions. :) I don't.
If you did you'd have to change the API of add_user so you had some way to detect users wanting to use the old method and could warn/throw a notice...
Is there a specific reason not to use the low level
useradd
instead ofadduser
?