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.
https://bugs.launchpad.ne
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
To
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=
S
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
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 th
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) {
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 te
** 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:
https://
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 subscribe
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)
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.
ht
** 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 man
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 m
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:
use
14 matches
Mail list logo