Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use linux's sulogin command to log in to a single user

Shulou Source: shulou.com Published: 2022-06-02 12:46:46 10月26日 Update

Editor to share with you the use of linux sulogin command single user login, I hope you have learned a lot after reading this article, let's discuss it!

You can use the sulogin command to log in to a single user, and Shell will not read the / etc/profile or $HOME/.profile file at startup.

Syntax format: sulogin [parameters]

Common parameters:

-p single user Shell calls a dash as the first character in the parameter-the t program will only wait for the user to enter a specified number of seconds

Reference example

Log in to a single user:

[root@linuxcool ~] # sulogin has finished reading this article, I believe you have a certain understanding of single user login using the sulogin command of linux, want to know more about it, welcome to follow the industry information channel, thank you for reading!

Tags: Single user login command parameter article character finished instance commonly used file more format user knowledge dash program industry grammar information information channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi MariaDB Docker Shulou Information Shulou Technology