Linux SU Command
Usage of Linux SU Command:
This command is used to become another user in his own session. By default, user without username will login as super-user (i.e. Root).
su [option] – [user [arguments …]]
Example1 : Login as “guest “user.
Example2 : Run specific command with another user privilege say govind.
-c option is used to return back to the command line of former user after execution is completed.
Example3 : Login as root user.
Note: In Linux while giving password it won’t be visible because of security reason.