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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1416795

Title:
  useradd -D -s does not update shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1416795/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to