Crate rhun

Crate rhun 

Source

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