$pwpassword(), $passwdpassword()
DESCRIPTION
for a user name, or user id (uid), return the corresponding password
(as recorded in the system passwd file)
SYNOPSIS
$pwpassword(s)
$passwdpassword(s)
or:
$pwpassword(i)
$passwdpassword(i)
ARGUMENTS
s - a quoted string, or string expression, representing a user name
or:
i - an integer, or integer expression, greater than or equal to zero,
representing a user id (uid)
EXAMPLES
# pikt +C 'output $pwpassword("root")'
x
# pikt +C 'output $pwpassword(0)'
x
rule
if $pwpassword("root") eq ""
output mail "in passwd, root has no password!"
fi
SEE ALSO
$pwname(), $passwdname()
$pwgecos(), $passwdgecos(), $pwcomment(), $passwdcomment()
$pwdir(), $passwddir()
$pwshell(), $passwdshell()
String Functions
Numerical Functions