Ask a Question related to Linux / Unix Administration, Design and Development.
-
qazmlp #1
What to do to add a secondary user group?
---------------------------------------------------
Format of /etc/group:
<Group name>:<Encrypted Password>:<Numerical Group ID>:<Individual
user names that are part of the group:'Group name'>
Format of /etc/passwd:
<userName> : <Encrypted Password> : <Numerical user ID> : <Numerical
Group ID> : <Comment Field> : <Initial Working Directory> : <Initial
shell>
---------------------------------------------------
As I understand, it is necessary to adapt only /etc/group to add a
secondary user group to a user.
For any reason, is it required to change /etc/passwd also? I assume
NO.
In my understanding, we mention only the Primary group Id in
/etc/passwd.
qazmlp Guest
-
Verify User Group from ASP.NET
Hello, I'm a little uncertain about what I'm asking so please be gentle. I (think) I want to be able to identify and authenticate the currently... -
NDS user and group query
Greetings! I would like to create a web page that will allow users to look at my Novell NDS tree groups and see what users are members, and look... -
Specify more than 1 supplementary group for a user ??
Whenever I do: usermod -G groupname username ..... any existing supplementary group of username, as shown from /etc/group, gets removed and... -
PHP User Group forming in Louisville, KY
Hello, I've been attempting for some time now to put together a PHP user group in Louisville, KY USA. If you're interested in this idea, please... -
how to add user group member
Hi folks, I have problem when add user into group member with admintool it has been limited up to hundred...user (don't know how many) when i add... -
Pascal Bourguignon #2
Re: What to do to add a secondary user group?
[email]qazmlp1209@rediffmail.com[/email] (qazmlp) writes:
You understand and assume correctly.> ---------------------------------------------------
> Format of /etc/group:
> <Group name>:<Encrypted Password>:<Numerical Group ID>:<Individual
> user names that are part of the group:'Group name'>
>
> Format of /etc/passwd:
> <userName> : <Encrypted Password> : <Numerical user ID> : <Numerical
> Group ID> : <Comment Field> : <Initial Working Directory> : <Initial
> shell>
> ---------------------------------------------------
>
> As I understand, it is necessary to adapt only /etc/group to add a
> secondary user group to a user.
> For any reason, is it required to change /etc/passwd also?
> I assume NO.
> In my understanding, we mention only the Primary group Id in
> /etc/passwd.
The user have to login again though to get the new groups taken into account.
--
__Pascal Bourguignon__ [url]http://www.informatimago.com/[/url]
Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we.
Pascal Bourguignon Guest
-
Jens.Toerring@physik.fu-berlin.de #3
Re: What to do to add a secondary user group?
In comp.unix.programmer Pascal Bourguignon <spam@mouse-potato.com> wrote:
> [email]qazmlp1209@rediffmail.com[/email] (qazmlp) writes:>> ---------------------------------------------------
>> Format of /etc/group:
>> <Group name>:<Encrypted Password>:<Numerical Group ID>:<Individual
>> user names that are part of the group:'Group name'>
>>
>> Format of /etc/passwd:
>> <userName> : <Encrypted Password> : <Numerical user ID> : <Numerical
>> Group ID> : <Comment Field> : <Initial Working Directory> : <Initial
>> shell>
>> ---------------------------------------------------
>>
>> As I understand, it is necessary to adapt only /etc/group to add a
>> secondary user group to a user.
>> For any reason, is it required to change /etc/passwd also?
>> I assume NO.
>> In my understanding, we mention only the Primary group Id in
>> /etc/passwd.And there can also be a gshadow file that has the same function as> You understand and assume correctly.
> The user have to login again though to get the new groups taken into account.
/etc/shadow for /etc/passwd, which might also require tweaking...
Regards, Jens
--
\ Jens Thoms Toerring ___ [email]Jens.Toerring@physik.fu-berlin.de[/email]
\__________________________ [url]http://www.toerring.de[/url]
Jens.Toerring@physik.fu-berlin.de Guest



Reply With Quote

