LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-23-2010, 09:00 AM   #1
sysslack
Member
 
Registered: Feb 2006
Posts: 69

Rep: Reputation: 15
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.
 
Old 07-23-2010, 11:31 AM   #2
GazL
Senior Member
 
Registered: May 2008
Posts: 3,365

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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.
 
1 members found this post helpful.
Old 07-24-2010, 04:26 PM   #3
sysslack
Member
 
Registered: Feb 2006
Posts: 69

Original Poster
Rep: Reputation: 15
Thank you Gazl for your reply! Slackware is very good besides of that and in most cases works like a charm.
 
Old 07-28-2010, 03:42 PM   #4
Fidori
LQ Newbie
 
Registered: Oct 2007
Location: Finland
Distribution: Slackware
Posts: 24

Rep: Reputation: 8
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
 
1 members found this post helpful.
Old 07-28-2010, 05:48 PM   #5
GazL
Senior Member
 
Registered: May 2008
Posts: 3,365

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"gpasswd -R" vs "gpasswd -r": what is the difference? Neavirc Linux - Newbie 1 06-24-2008 07:22 PM
strong gpasswd cachemonet Linux - Security 1 07-26-2006 02:45 PM
alternative to newgrp stocks29 Linux - General 4 01-20-2006 09:55 AM
newgrp question bjdea1 Linux - Security 2 09-02-2004 08:55 PM
using newgrp chosmer Linux - Security 1 11-30-2002 01:20 AM


All times are GMT -5. The time now is 11:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration