delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/21/13:07:06

Message-Id: <200101211806.NAA21265@qnx.com>
Subject: Re: Status update (Smalltalk/Python)
To: djgpp-workers AT delorie DOT com
Date: Sun, 21 Jan 2001 13:06:48 -0500 (EST)
From: "Alain Magloire" <alain AT qnx DOT com>
In-Reply-To: <3A6B156A.63DDA004@phekda.freeserve.co.uk> from "Richard Dawe" at Jan 21, 2001 04:59:22 PM
X-Mailer: ELM [version 2.5 PL0b1]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 
> Alain Magloire wrote:
> > 
> > Richard Dawe wrote:
> > > The password seems to be crypted. For the group password I get 'x',
> > > which is what /etc/group contains for my user. This appears to be
> > > equivalent tp a blank password field. This is on RedHat Linux 6.2 with
> > > glibc 2.1.3.
> > 
> > Most Modern Un*x including GNU/Linux uses shadow passwd.  Meaning
> > the actual passwd is now save in /etc/shadow and not readable by all.
> [snip]
> 
> I'm not using shadow passwords right now. I don't have an /etc/shadow.
> It's on my to-do list to work out how to do that. So, I wonder what effect
> the 'x' has as the group password. 'newgrp' didn't ask for a password,
> when I changed to a group I belong to, that had 'x' as its password entry.

If you were in the list, it should not ask you for a passwd:
# cat /etc/group
bin::1:root,bin,daemon
wheel::10:root
mail::12:mail
ftp::50:
techies:x:50:alain,richard,eliz
floppy:x:19:
pppusers:x:230:
popusers:x:231:

For example if you are asking to be in the group "techies", newgroup
will not prompt for passwd, since you've already been added by the system
administrator.  But if you ask to be in "pppusers", you will be prompt
for a passwd.  If you ask to be in group "bin" or "wheel" you will be denied
access.  "wheel" is a well-know group that was use by the command sudo
and friends, I do not know if GNU/Linux carried all that crap with it,
sudo was use in old systems to give users more priviledges and "su" access.



-- 
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019