← Back to team overview

touch-packages team mailing list archive

[Bug 1416795] Re: useradd -D -s does not update shell

 

This appears to be resolved with passwd 1:4.2-3.1ubuntu1 in xenial.

** Changed in: shadow (Ubuntu)
       Status: Confirmed => Fix Released

-- 
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:
  Fix Released

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


References