LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   newgrp and gpasswd problems (https://www.linuxquestions.org/questions/slackware-14/newgrp-and-gpasswd-problems-821696/)

sysslack 07-23-2010 09:00 AM

newgrp and gpasswd problems
 
Hello,
I am trying to set a group password for specific group and newgrp to that one without being a member, but it doesn't seem to work for ordinary users
Any hints?

root@slack_13:/home/jk# gpasswd default
Changing the password for group default
New Password:
Re-enter new password:

user@slack_13:~$ newgrp default
Password:
Invalid password.

GazL 07-23-2010 11:31 AM

Getting the same here sysslack.

I was bitten by a bug in this latest shadow package with 'su' a while back, so I don't have a whole deal of confidence in it at the moment. I wouldn't be surprised if this isn't another one.

sysslack 07-24-2010 04:26 PM

Thank you Gazl for your reply! Slackware is very good besides of that and in most cases works like a charm.

Fidori 07-28-2010 03:42 PM

This is fixed in shadow SVN. The fix is revision 3096. From the changelog:
Quote:

Fix parsing of gshadow entries.
SVN URL:svn://svn.debian.org/pkg-shadow

GazL 07-28-2010 05:48 PM

Thanks Fidori,

I suspected it might have been in there somewhere as I found a fix for the su problem I was having there too.
I tried to build svn upstream/trunk the other day but it kept failing.

Firstly, generate_mans.deps was missing and I couldn't find out how to build it. Then after I borrowed
the generate_mans.deps from the 4.1.4.2 sources I got some undefined references later during the compile (probably due to it needing some changes to the configure options, but there wasn't much in the way of documentation to guide me).

I'm a little surprised they haven't released a 4.1.4.3 because of all of these bugs. They seem fairly major, and 4.1.4.2's been out a good while now.


All times are GMT -5. The time now is 11:49 PM.