View Single Post
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
su and sudo are two different commands. su is switch user, some people call it super user. When you use su, you are that user until you log out. An example of su is:

su - rman -- I am logging in as the user rman.
su -- I am logging as the root user.

The sudo command is user to give a user limited root access, usually either for 5 minutes or the use of one command. Depending on how it is configured.

An example of sudo is:

sudo /etc/daily

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks