Alex aka Magobin
2006-May-02 11:20 UTC
[Fedora-directory-users] gid number in posix account!
hi at all,for migration of groups and users from files to Fedora DS I used LdapImport...it exports groups,passwd and shadow files; I have all users and groups in my DS...now I have a question: When I create a new account, in posix tab I have to enter uid and gid number for new user...is it possible to use name such as "mail" for gid and is it possible to have an uid number automatically?...more or less in the same way when you create a new account with adduser; It would be very useful...in this way I haven''t to remember last uid used and number for that group. thanks in advance! Alex
Richard Megginson
2006-May-02 14:05 UTC
Re: [Fedora-directory-users] gid number in posix account!
Alex aka Magobin wrote:> hi at all,for migration of groups and users from files to Fedora DS I > used LdapImport...it exports groups,passwd and shadow files; I have all > users and groups in my DS...now I have a question: > > When I create a new account, in posix tab I have to enter uid and gid > number for new user...is it possible to use name such as "mail" for gid >No, I think it has to be a number.> and is it possible to have an uid number automatically?...more or less > in the same way when you create a new account with adduser; It would be > very useful...in this way I haven''t to remember last uid used and number > for that group. >Right. It''s on our wishlist - I don''t know when we''ll get around to it. http://directory.fedora.redhat.com/wiki/Wishlist> thanks in advance! > > Alex > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Alex aka Magobin
2006-May-02 14:16 UTC
Re: [Fedora-directory-users] gid number in posix account!
> No, I think it has to be a number.> Right. It''s on our wishlist - I don''t know when we''ll get around to it. > http://directory.fedora.redhat.com/wiki/Wishlistuhm, so can you confirm me that to create a new account I have to specify uid and gid in numerical way ? And in this way if mail is 4 example 501 any user with gid 501 is member of mail group? thanks Alex
Richard Megginson
2006-May-02 14:21 UTC
Re: [Fedora-directory-users] gid number in posix account!
Alex aka Magobin wrote:>> No, I think it has to be a number. >> > > >> Right. It''s on our wishlist - I don''t know when we''ll get around to it. >> http://directory.fedora.redhat.com/wiki/Wishlist >> > > > uhm, so can you confirm me that to create a new account I have to > specify uid and gid in numerical way ? >In the Posix fields, yes. The fields uidNumber and gidNumber have to be an integer.> And in this way if mail is 4 example 501 any user with gid 501 is member > of mail group? >Yes.> thanks > Alex > > > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
--- Richard Megginson <rmeggins@redhat.com> wrote:> In the Posix fields, yes. The fields uidNumber and gidNumber have to be > an integer.what''s really strange is that if you''re adding a person to multiple groups (really, listing multiple memberuid attributes in a posixgroup) you MUST use the text name of the person. Even though the attr is called member*uid*, if you put the uid in there, it won''t work. Text string must be specified. I know it''s not FDS''s fault but as my kids would say, "that''s just whack." __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com