Mail Archives: djgpp-workers/2001/01/21/13:07:06
>
> 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 -