In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Omit password verification
Change the root:x:0:0:root:/root:/bin/bash in/etc/passwd to root::0:0:root:/root:/bin/bash, and you can remove the x in it, so that the root user does not need a password. The same goes for other users.
2. Omit entering user name
Modify/etc/inittab
In inittab, there are the following configurations:
O0:12345:respawn:/sbin/getty -L 115200ttyO0
We can skip the user name and password entry by simply modifying it to execute a script we wrote instead of getty. Put a script file log in the root directory (note the permission of the script file, I set it to 777 here), modify it as follows:
O0:12345:respawn:/log -L 115200 ttyO0
The log script file is as follows:
#!/ bin/sh
/bin/login -f root
These two methods are not very simple, I believe everyone must have mastered, what tips you can share with me in time oh ~ look forward to everyone's views.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.