$grpassword(), $grouppassword()
DESCRIPTION
for a given group name, or group id (gid), returns the corresponding group password
(as recorded in the system group file)
SYNOPSIS
$grpassword(s)
$grouppassword(s)
or:
$grpassword(i)
$grouppassword(i)
ARGUMENTS
s - a quoted string, or string expression, representing a group name
or:
i - an integer, or integer expression, greater than or equal to zero,
representing a group id (gid)
EXAMPLES
# pikt +C 'output $grpassword("root")'
# pikt +C 'output $grpassword(0)'
rule
if $grpassword("root") eq ""
output mail "in group, root has no password!"
fi
SEE ALSO
$grname(), $groupname()
$grmem(), $groupmem(), $grmembers(), $groupmembers()
String Functions
Numerical Functions