* adduser and group file
@ 2000-08-24 10:21 Jacques Maleyrot
0 siblings, 0 replies; only message in thread
From: Jacques Maleyrot @ 2000-08-24 10:21 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-08-24 10:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-24 10:21 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