[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2020-04-15 Thread Serge Hallyn
Tested this in eoan. New user got the SHELL=zsh which I specified in /etc/default/useradd ** Changed in: shadow (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2017-08-27 Thread Mitar
I can confirm this is still happening on 16.04. The whole file is ignored. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1321854 Title: useradd doesn't add the default shell to /etc/passwd entry

[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2017-07-04 Thread Bob Ziuchkovski
I just ran into the same problem on Ubuntu 16.04: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 16.04.2 LTS Release:16.04 Codename: xenial $ cat /etc/default/useradd SHELL=/bin/bash $ useradd -D GROUP=100 HOME=/home INACTIVE=-1 EXPIRE=

[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2016-12-15 Thread Christian Pointner
It seems that the fix is still not applied. Is there a reason why? The bug makes it quite annoying to use Ansible or the like. regards christian -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1321854

[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2015-09-16 Thread Blaisorblade
Sorry, I shouldn't have made the previous comment — I had just looked at the last comment. Now I looked at the rest of the code, and discovered that you have already a fix, you just didn't apply it to trusty. Would you please do so? Roberto (#7), you are correct, but IIUC that *is* addressed by

[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2015-09-16 Thread Blaisorblade
I found a possible culprit. Patch debian/patches/1000_configure_userns swaps the order of `get_defaults`* and `process_flags`, but it's the job of `process_flags` to read the defaults if they weren't overridden on the command line. For instance, `process_flags` contains ``` if (!gflg) {

[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2015-02-02 Thread Roberto Suarez
Could this be a sign of useradd ignoring everything in /etc/default/useradd? I've stumbled upon a problem when changing the default HOME base directory. Example: # useradd -D GROUP=100 HOME=/tmp INACTIVE=-1 EXPIRE= SHELL=/bin/sh SKEL=/etc/skel CREATE_MAIL_SPOOL=no # useradd -m testuser14 # grep

[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2014-12-04 Thread mmmsssddd
** Tags added: useradd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1321854 Title: useradd doesn't add the default shell to /etc/passwd entry To manage notifications about this bug go to:

[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2014-11-13 Thread Jonas Björk
This is still the case with latest installed package of passwd (where I found useradd): ii passwd 1:4.1.5.1-1ubuntu9amd64 change and administer password and group data -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2014-06-19 Thread Launchpad Bug Tracker
** Branch linked: lp:~cosmos-door/ubuntu/utopic/shadow/fix-for-1321854 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1321854 Title: useradd doesn't add the default shell to /etc/passwd entry To

[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2014-06-19 Thread Mitsuya Shibata
This problem is introduced by debian/patches/1000_configure_userns. I sent merge request, could you review it? ** Changed in: shadow (Ubuntu) Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2014-06-19 Thread Serge Hallyn
Thanks, the patch looks good to me. ** Also affects: shadow (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: shadow (Ubuntu) Importance: Undecided = Medium ** Changed in: shadow (Ubuntu Trusty) Importance: Undecided = Medium ** Changed in: shadow (Ubuntu)

[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2014-06-12 Thread tonyskapunk
I think the correct package is passwd: # dpkg -L passwd|grep useradd$ /etc/default/useradd /usr/sbin/useradd # cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION=Ubuntu 14.04 LTS -- You received this bug notification because you are a

[Bug 1321854] Re: useradd doesn't add the default shell to /etc/passwd entry

2014-06-10 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: shadow (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1321854 Title: