“su – root” or type “exit”
This command will change from current user to root user or we can type “exit” in the terminal to directly go to the root user from a normal user.
Basic Unix Concepts For DBA
“su – root” or type “exit”
This command will change from current user to root user or we can type “exit” in the terminal to directly go to the root user from a normal user.
“su – username”
This command will change the current user to the given user.
“id username”
This command will show the id, gid, group of a particular user.
“cat /etc/passwd |grep username”
This command will show the details of a particular user.
grep : global regular expression.