index
/bin/login.sh
login is a binary used to log in on a minux system.
alias:"su"
usage:
login username password
if no arguments are provided, asks for user input in stead.
output:
attempts to log in with the username and password provided, sets the relevant values and grants or denies various levels of access to the system.
eg: "login foo bar" will log in as username foo and password bar
if you are already logged in you can use this to switch to another user, if your login fails you will return back to your previous user.
if you also provide "-s" as third argument it will supress printing to the screen, this avoids breaking interfaces