touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #51665
[Bug 1416795] [NEW] useradd -D -s does not update shell
Public bug reported:
$ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
$ sudo useradd -D
[sudo] password for clayk:
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/sh
SKEL=/etc/skel
CREATE_MAIL_SPOOL=no
Attempting to change SHELL:
$ sudo useradd -D -s /bin/bash
$ sudo useradd -D
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/sh
SKEL=/etc/skel
CREATE_MAIL_SPOOL=no
Attempting with slight variation of command:
$ sudo useradd -Ds /bin/bash
$ sudo useradd -D
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/sh
SKEL=/etc/skel
CREATE_MAIL_SPOOL=no
I am expecting the default shell to change to /bin/bash in this
instance.
** Affects: shadow (Ubuntu)
Importance: Undecided
Status: New
** Tags: 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/1416795
Title:
useradd -D -s does not update shell
Status in shadow package in Ubuntu:
New
Bug description:
$ lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
$ sudo useradd -D
[sudo] password for clayk:
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/sh
SKEL=/etc/skel
CREATE_MAIL_SPOOL=no
Attempting to change SHELL:
$ sudo useradd -D -s /bin/bash
$ sudo useradd -D
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/sh
SKEL=/etc/skel
CREATE_MAIL_SPOOL=no
Attempting with slight variation of command:
$ sudo useradd -Ds /bin/bash
$ sudo useradd -D
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/sh
SKEL=/etc/skel
CREATE_MAIL_SPOOL=no
I am expecting the default shell to change to /bin/bash in this
instance.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1416795/+subscriptions
Follow ups
References