Public bug reported:

entry from /etc/passwd:
user:x:1000:1000:User,,,:/home/user:/bin/bash

entry from /etc/group:
dummy:x:200:user

entry from /etc/gshadow:
dummy:*::

logged on as user the command
"newgrp dummy" asks for a password and fails with "crypt: Invalid argument"

after removing the line for dummy from gshadow newgrp works


A similar bug was reported on the redhat tracker: 
https://bugzilla.redhat.com/show_bug.cgi?id=988184


cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1355111

Title:
  newgrp fails with "crypt: Invalid argument"

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

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

Reply via email to