[Buildroot] [PATCH 1/3] system/skeleton: add the shadow-group file
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Jan 1 09:26:06 UTC 2013
Dear Yann E. MORIN,
Happy New Year!
On Mon, 31 Dec 2012 19:18:08 +0100, Yann E. MORIN wrote:
> Wrong. Groups can have passwords. And users can change-group with:
>
> $ newgrp [-] groupname
>
> If the user is a member of that group, or the group is paswrod-less, then
> no password is asked for, and the current group-id has changed (it is a bit
> like 'su', but to just change group)
>
> If the user is not a member that group, and the group is not restricted (eg.
> password is not '*' and does not start with '!', then the user is asked to
> enter the group password.
>
> See:
> group(5) gshadow(5) newgrp(1)
>
> I hope that was enough to explain addition of gshadow. ;-)
Interesting, I didn't know about this.
The next question that comes up is: do we really need to support this
in Buildroot?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list