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
Touch seeded packages, which is subscribed to shadow in Ubuntu
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
Touch seeded packages, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/1321854
Title:
useradd doesn't add the default she
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
Touch seeded packages, which is subscribed to shadow in Ubuntu.
https://bugs.
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) {
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
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
Touch seeded packages, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/1321854
Title:
useradd doesn't add the default shell to /etc/passwd entry
Status in shadow package in
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
Touch seeded packages, w
9 matches
Mail list logo