Module Line.Group


module Group: sig .. end
Line structure for /etc/group file records.

val name : < group : Line.present; .. > Line.t -> string
The group name of a group record. (accessor, required)
val set_name : string -> (< group : Line.present; .. > as 'a) Line.t -> 'a Line.t
Updater for Line.Group.name
val passwd : < group : Line.present; .. > Line.t -> string
The group password name in a group record. (accessor, required)
val set_passwd : string -> (< group : Line.present; .. > as 'a) Line.t -> 'a Line.t
Updater for Line.Group.passwd
val gid : < group : Line.present; .. > Line.t -> int
The group id of a group record. (accessor, required)
val set_gid : int -> (< group : Line.present; .. > as 'a) Line.t -> 'a Line.t
Updater for Line.Group.gid
val users : < group : Line.present; .. > Line.t -> string list
The usernames of the members of the group. (accessor, required)
val set_users : string list -> (< group : Line.present; .. > as 'a) Line.t -> 'a Line.t
Updater for Line.Group.users
val create : name:string ->
passwd:string ->
gid:int ->
users:string list ->
< delim : 'a; fstab : 'b; group : Line.absent; key_value : 'c; mailcap : 'd;
passwd : 'e; ps : 'f; seq : 'g; source : 'h; stat : 'i >
Line.t ->
< delim : 'a; fstab : 'b; group : Line.present; key_value : 'c; mailcap : 'd;
passwd : 'e; ps : 'f; seq : 'g; source : 'h; stat : 'i >
Line.t
Add the Line.Group substructure to a line.