← Back to team overview

touch-packages team mailing list archive

[Bug 1355111] Re: newgrp fails with "crypt: Invalid argument"

 

perhaps an strace might help...the group I want to have as primary group
is called DummyGroup here and is part of an active directory
infrastructure. In 12.04 everything worked and I was able to change to
that group.

** Attachment added: "stracenewgrp.log"
   https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1355111/+attachment/4183244/+files/stracenewgrp.log

-- 
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/1355111

Title:
  newgrp fails with "crypt: Invalid argument"

Status in “shadow” package in Ubuntu:
  Confirmed

Bug description:
  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"

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