def PGtoEntry(i): return utilities.join([i["group"], i["passwd"], i["gid"], utilities.join(i["users"], ",")], ":") + "\n"
def PStoEntry(i): return utilities.join( [i["user"], i["passwd"], i["lastpwdchange"], i["minpwdchange"], i["maxpwdchange"], i[ "warnperiod"], i["inactive"], i["expire"], i["reserved"]], ":") + "\n"
def PPtoEntry(i): return utilities.join( [i["user"], i["passwd"], i["uid"], i["gid"], i["name"], i["home"], i["shell"]], ":") + "\n"