Functions§
- check_
pass_ time - Returns true if the last time the user entered a correct password was less than 5 minutes ago. Returns false otherwise.
- check_
password - Check if passwd is the password for the user username
- find_
bin - Given the command exec, it returns the absolute path for that command
- get_
username - Get’s the current user’s name
- is_root
- Returns true if the effictive uid is 0
- read_
password - Reads a password from the user (with no echo)
- update_
pass_ time - Updates the last correct password timestamp