← Back to team overview

touch-packages team mailing list archive

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

 

To make it more clearly, I have attached another logfile. This new one
is from Ubuntu 12.04 in the same environment as above.

If you diff it with the stracenewgrp.log you can see, that in Ubuntu
14.04 the newgrp tries to allocate files associated to the language
settings in /usr/share/locale while this is not the behaviour in 12.04.
For what are those files located in the locales needed? The files it
tries to access are not installed nor can they be installed as far as I
know (please correct me if I am wrong here). It seems to me that it uses
these files for the whole group handling which does not make sense at
all to me. The /etc/login.defs does make a lot more sense...

Hope this helps.

Kind regards

Marco


** Attachment added: "1204.log"
   https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1355111/+attachment/4183483/+files/1204.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