module Passwd:sig
..end
val name : Line.t -> string
val set_name : string -> Line.t -> Line.t
Line.Passwd.name
val passwd : Line.t -> string
(On modern systems this is usually a dummy marker rather than the
encrypted password.) (accessor, required)
val set_passwd : string -> Line.t -> Line.t
Line.Passwd.passwd
val uid : Line.t -> int
val set_uid : int -> Line.t -> Line.t
Line.Passwd.uid
val gid : Line.t -> int
val set_gid : int -> Line.t -> Line.t
Line.Passwd.gid
val gecos : Line.t -> string
val set_gecos : string -> Line.t -> Line.t
Line.Passwd.gecos
val home : Line.t -> string
val set_home : string -> Line.t -> Line.t
Line.Passwd.home
val shell : Line.t -> string
val set_shell : string -> Line.t -> Line.t
Line.Passwd.shell
val create : name:string ->
passwd:string ->
uid:int ->
gid:int -> gecos:string -> home:string -> shell:string -> Line.t -> Line.t
Line.Passwd
substructure to a line.