Find! Thank You Paul.

in /etc/passwd [about user]

testx:*:1001:1000::/home/testx:/usr/bin/false

So I have no choice but to replace '1001' with '1000' ?

testx:*:1000:1000::/home/testx:/usr/bin/false Ok?




> On Wed, Mar 16, 2016 at 07:10:09AM +0100, Max Power wrote:
> | Hi Todd, guys.
> |
> | LogOut e reboot has been the first thing I have done,
> | but nothing... gid is always there!
> |
> | The group not exist but gid: yes!
> | # groups testx: group: can't find group 'testx'
> | # id testx: uid=1001(testx) gid=1001 groups=1001, 1000(laboratory)
>
> The gid id reports here is the group that's configured in your passwd
> file.  The line will look like this:
>
> testx:*:1001:1001:Test User:/home/testx:/bin/ksh
> -------------^^^^
>
> That's the GID right there.  A user always has a login group that's
> configed in /etc/passwd.  If you don't want this group to be used,
> don't put users in it (either in /etc/group as additional groups or in
> /etc/passwd as the login group).
>
> Cheers,
>
> Paul 'WEiRD' de Weerd
>
> | I just can not understand this!
> | can someone please help me?
> | Thanks.
> |
> | The same situation, with other deleted group, is on another server with
> | OpenBSD 5.7 amd64.
> |
> | > A user's active groups are set at login time.  Removing a group
> | > from the group file does not affect processes that are already
> | > running.  If you logout and login again after removing the group
> | > you should no longer be a member of the group.
> | >
> | >  - todd
> |
>
> --
>>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
> +++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
>                  http://www.weirdnet.nl/

Reply via email to