![]() ![]() The user will be prompted for a password, if appropriate. If invoked without a user name, su defaults to becoming the superuser. The su command only works if you know the target or root user’s password. This command allows you to become a superuser or substitute user, spoof user, set user or switch user. In other words, to become a superuser during a login session, use the su command. The su command is used to change the user ID. You need to use the su or sudo or doas command to switch to root user account. Therefore, you use a normal user account instead. It is not good practice for anyone to use root as their normal user account because of security risks. The root user can do many things an ordinary user cannot, such as changing the ownership of files, mounting disk, formatting & restating a new file system, starting/stopping services, and binding to ports numbered below 1024 and more. ![]() It is the conventional name of the user who has all rights or permissions on the system. The root user acts as a superuser on Linux, macOS, *BSD, and UNIX-like operating systems. Therefore, they need to log in as an admin user on all Linux and Unix machines. The person responsible for setting up and maintaining the system or server is called the system administrator, and it is the role of the system administrator. How do I log in as root user under Linux, Apple macOS (OS X), *BSD, and UNIX-like operating systems? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |