In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The ubifs file system out of TI does not log in automatically by default.
Refer to the article ["self-startup of embedded ARM Linux development board, skip entering root username and password] (https://blog.csdn.net/u014213012/article/details/72772061), realize automatic login of root
1. Compile autologin
Automatic login mainly executes autologin procedures, autologin file source code:
# include int main () {execlp ("login", "login", "- f", "root", 0); return 0;}
Compile: arm-linux-gcc autologin.c-o autologin
two。 Copy autologin to the sbin directory of the root file system, and add run permissions, chmod + x autologin
3. Modify / etc/inittab
# vi / etc/inittab
Find the line where the login script is located:
S:2345:respawn:/sbin/getty 115200 ttyO0
Modified to:
S:2345:respawn:/sbin/getty-n-l / sbin/autologin 115200 ttyO0
Save exit
4. Recompile, burn and write, run successfully
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.