Develop Paper
  • Program
  • Server
  • Development Tool
  • Blockchain
  • Database
  • Artificial Intelligence
Position: Home > Blogs > OS > Linux > Content

Linux: the use of root under Linux

Time:2021-1-19

The most powerful user under Linux is root. This user can do whatever he wants. If we can directly use the administrator authority under this user without using the sudo keyword, how can we switch to root?

To switch to the root account for the first time, you need to set the password of the root account, as follows:

sudo passwd root

In this way, you can set the password of the root user, as follows:

 

Then we can use the command:

su root

Switch to the root user. When switching, you need to input the password of the root user. We can do experiments. To create a geeksongs2 user in the root account, we don’t need to use the sudo command at all. Finally, we can use the LS / home command to see that the geeksongs2 user has been successfully created.

 

Because the permission of root super user is too large, we should use it carefully. After using it, we must input the command:

exit

To quit this super user

Tags: account, command, Jurisdiction, Password, user

Recommended Today

How does git store data

How does git store data Git is one of the tools that we use most every day. It is a new version control tool created by Linus Torvalds, the earliest author of Linux kernel. It is as simple and easy to use as Linux. This article will briefly talk about how git works requirement I […]

  • Secure audit violence landing
  • Details of Gentoo system installation steps
  • Installation of eclipse on CentOS system
  • How to install and configure jetty in Linux
  • Talking about virtual memory
  • How to install and use screen, a remote session management tool for CentOS 7 system?
  • MRTG is installed on Linux system to monitor network traffic
  • Linux firewall to open a port number and commonly used firewall commands (detailed explanation)
  • Build an open source project 9 – install application server Tomcat / ngix / docker
  • Detailed explanation of chkconfig command in Linux system
Pre: The process of entering URL to display page
Next: I don’t believe these NPM instructions. You know all about them

    Tags

    address algorithm android array assembly attribute Browser c Catalog Character string Client code command configuration file css data Database data base Edition element Example file function html html5 ios java javascript linux Memory method mysql node object page parameter php Plug-in unit project python Route source code The server Thread user

    Recent Posts

    • How does git store data
    • Record recent interviews (PHP)
    • How to Build a Cybersecurity Career
    • Heavy weight! Heavy weight! Masonite 3.0 is out!!
    • Refuse to delete library and run! Getting started with docker container data management

    Recent Comments

    • cups_book on Answer for How to write links in accordion menu and accordion menu of bootstrap?
    • DeathVicky on Answer for How to solve the problem of "service cannot accept control information" when C # starts ICs sharing?
    • mjh050505 on Answer for Too much memory caused by MySQL query
    • rife on Answer for Too much memory caused by MySQL query
    • Grass on Answer for Too much memory caused by MySQL query

    Categories

    • .NET Core
    • Agile Development
    • Android
    • Apple MAC
    • Architecture Design
    • Artificial Intelligence
    • ASP.NET
    • Blockchain
    • C
    • C#
    • C++
    • Database
    • Development Tool
    • Embedded
    • Erlang
    • Freshman
    • Golang
    • HTML/CSS
    • HTML5
    • Information Security
    • IOS
    • Java
    • JavaScript
    • JSP
    • Linux
    • MongoDB
    • MsSql
    • MySql
    • OOP
    • oracle
    • Other DB
    • Other Technology
    • Perl
    • PHP
    • Program
    • Python
    • Redis
    • Regular Expression
    • Ruby
    • Rust
    • SAP
    • Server
    • VBS
    • VUE
    • WEB Front End
    • Windows
    • XML/XSLT
  • java
  • php
  • python
  • linux
  • windows
  • android
  • ios
  • mysql
  • html
  • .net
  • github
  • node.js

Copyright © 2021 Develop Paper All Rights Reserved   

  Sitemap    About DevelopPaper    Privacy Policy    Contact Us