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)05/31 Report--
This article shows you how to log in to the terminal with a root account by default under mac. The content is concise and easy to understand, and it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
With mac notebook children's shoes all know that OS X default login to ordinary users, leading to open the terminal is also a default login to an ordinary account, as a cloud computing operation and maintenance engineer needs to often log in to the company's remote server as root, then every time in the ssh login need to write: ssh root@your_server_ip, the root here can not be omitted, very troublesome.
In fact, there are many ways to avoid the above troubles. Here, I would like to provide you with a particularly cool way to log in, that is, root.
When you use the shortcut key command+t to open a new label
So it goes like this:
Now it goes like this:
Implementation process:
All right, now let's tell you how to do it. It's very simple.
1. First of all, it is strongly recommended to change the mac default terminal, such as the iTerm2 I use now: it is OK if you don't have to change it. Just find the corresponding configuration under the mac default terminal.
two。 To write a shell script, you only need to replace the password in the figure below.
3. Open the configuration of iTerm2 and modify the following figure.
4. It's done. You can give it a try.
The above is how to log in to the terminal with a root account by default under mac. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
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.