Member Since: Dec 24, 2002
Location: Los Angeles, California
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
08-05-2004, 06:38 PM
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:
Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!