[Bug 1190864] No default shell set when adding a new user with useradd (or YaST)
https://bugzilla.suse.com/show_bug.cgi?id=1190864 https://bugzilla.suse.com/show_bug.cgi?id=1190864#c1 Ancor Gonzalez Sosa <ancor@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ancor@suse.com --- Comment #1 from Ancor Gonzalez Sosa <ancor@suse.com> --- I think the best way to know what are the default values that useradd would use is to run:
useradd -D
I also think the best way to change the default values (even better than introducing/modifying the files mentioned by the reporter) would be through useradd itself. Something like:
useradd -D --shell /bin/sh
In my Tumbleweed, that generates the file /etc/default/useradd That being said, you can still hand-craft that file and that should work just fine with useradd. At least for now. Regarding YaST, it has fallen a bit behind regarding management of the useradd configuration. But we are working on it as we speak and the plan for the following weeks is to release a new version of yast2-users that would fully rely on "useradd -D" to read and write the configuration. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com