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" 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Precedence: bulk > > 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 !!!