Users with shutdown permissions created in linux 1. logon analysis login: username password: after the password is entered, start to review the files/etc/passwd and/etc/shadow. if the user name and password are approved, read the files in the main directory of the user. bash_profile file. start logging in... users with shutdown permissions created in linux 1. logon analysis login: username password: after the password is entered, start to review the files/etc/passwd and/etc/shadow. if the user name and password are approved, read the files in the main directory of the user. bash_profile file. log on to the system. 2. shut down the user. create a user. set the user password to 123. step 1. create the user useradd user2. create the user password passwd user 1233. enter the user's home directory and enter. bash_profile file cd/home/uservi. add the "init 0" command to any line of the file. 4. enter the passwd file cd/ectvi passwd and change the user ID and group ID to 0. press enter to shut down the system
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service