In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.