su :-> is used to change identity.
su - :->same as su, but passing '-' argument, create login shell.
sudo :->can commands as root. but sysadmin should give give privileges.
syntax:
sudo command >>your pass word, not roots
e.g. change password of user (bob)
sudo passwd bob
Thursday, January 29, 2009
Subscribe to:
Posts (Atom)