tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Jacques Maleyrot <Jacques.Maleyrot () u-bourgogne ! fr>
To: tru64-unix-managers
Subject: adduser and group file
Date: Thu, 24 Aug 2000 10:21:39 +0000	[thread overview]
Message-ID: <96711406416356.tru64-unix-managers.marc@archive.invalid> (raw)



   Hello all!

OS :DU 4.0F patch3


My /etc/group looks like :

....
group1:*:100:
group2:*:101:users1, user2 ....................                    ....
 usern
group2:*:101: usern+1, usern+2

group4:*:103: userx


So some group lines are limited to about 256 characters.
I read in archives and in admin book that maximum line lengh in /etc/group
is LINE_MAX define in limits.h.

In limits.h :

..
# define LINE_MAX _POSIX2_LINE_MAX
...
# define _POSIX2_LINE_MAX  2048



If i consider 2048 / 8 =3D 256 each line is limited to 256 characters OK.

But i have some lines in /etc/group with  same group name and same gid.
It seems that this don't get any trouble in running OS;=20

But i thaught it was impossible having many lines with same group name and
same gid.

Does anyone know that point?

Thanks in advance!





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

                 reply	other threads:[~2000-08-24 10:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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