RAppArmor (version 2.0.2)

userinfo: Lookup user info

Description

Function looks up uid, gid, and userinfo for a given username.

Usage

userinfo(username, uid, gid)

Arguments

username

character name identifying the loginname of the user.

uid

integer specifying the uid of the user to lookup.

gid

integer specifying the gid to lookup.

Value

a parsed row from /etc/passwd

References

Jeroen Ooms (2013). The RAppArmor Package: Enforcing Security Policies in R Using Dynamic Sandboxing on Linux. Journal of Statistical Software, 55(7), 1-34. http://www.jstatsoft.org/v55/i07/.

Ubuntu Manpage: passwd - the password file. http://manpages.ubuntu.com/manpages/precise/man5/passwd.5.html.