'su' - Change user id
'su username' is a command to change the current user id.
'su' by itself assumes root as the username
'su - username' uses the login shell of the username (in other words, without the '-' you simply change names and permissions, you don't run login scripts, you don't change the home directory, etc)
Hope that helps
|