'su' command, switch to different user in linux
Answers
-
To switch user we use
su
command which stand for substitute usersu username # a prompt will ask for password
Most of the time linux OS comes with the user account which may not have root permissions so to switch to root simply type
su
orsu root
.If you are trying to login with root for the first time from user's account, you will need to set password first. Here you can learn Setting root password for the first time and login as root in linux https://forum.devsach.in/discussion/20/setting-root-password-for-the-first-time-and-login-as-root-in-linux#latest
0
Howdy, Stranger!
Categories
- 94 All Categories
- 20 VoIP
- 7 SIP
- 16 asterisk
- 44 Programming
- 1 Nodejs
- 4 javascript
- 19 PHP
- 8 Codeigniter
- 14 database
- 1 UI/UX
- 2 Flutter
- 28 OS
- 26 Linux
- 1 Virtualization
- 1 Android
- 1 Windows
- 2 legal