tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* misname correction: in adduser and group file
@ 2000-08-25 14:03 Jacques Maleyrot
  0 siblings, 0 replies; only message in thread
From: Jacques Maleyrot @ 2000-08-25 14:03 UTC (permalink / raw)
  To: tru64-unix-managers



Hi, 
I'm sorry making summary, i make for  English fault
Text has to be :


Thanks to Ann Majeske from Compaq.
                                                  
I give "her" response below:
                                                  


+++++++
There is some confusion about what the maximum line length
in /etc/group should be, and how to handle it (I.e. break
long lines into multiple lines with the same name and gid or
break long lines into multiple lines with different names and
the same gid).  I don't know the current "official" limit, but
some commands and utilities may have lower limits than others.  
(Most now "malloc" the needed memory so they have no limit.)  
The "hardest" limit I know of is for the NIS group map.  I 
think that limit is around 1024 characters and has to do with 
the database used.  Since you aren't using NIS, you don't 
have to worry about that one.

There is no OS problem with multiple lines in the /etc/group
file with the same name and gid, or different names with the
same gid. I.e. with /etc/group containing
    groupa:*:222:user1,user2
    groupa:*:222:user3,user4
    groupb:*:222:user5,user6
the OS will consider users user1, user2, user3, user4, user5, 
and user6 to all be in the same group.  Some commands and
utilities may still get confused with one or the other way of
splitting the group into multiple lines, but those problems
are strictly cosmetic.  (For instance, if user5 issues the
"groups" command, it will probably show that he's a member
of "groupa", not "groupb".)  

The simple answer is that you shouldn't worry about having 
multiple lines with the same group name and gid, the system 
will work just fine.  

Ann


++++


--
Jacques Maleyrot
Universite de Bourgogne 
Centre de Ressources Informatiques
BP 27877   21078 DIJON Cedex
Email: Jacques.Maleyrot@mail.u-bourgogne.fr
tel : (33) 380395205
Fax:  (33) 380395269

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-25 14:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-25 14:03 misname correction: in adduser and group file Jacques Maleyrot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox