NetEase Cloud Classroom _linux Operating system introduction (embedded development 0 Basic Ⅰ) _ Chapter 3:linux command (bottom)

Source: Internet
Author: User

Lesson 30 user additions and deletions and viewing

User additions and deletions

User Add Command: Useradd

User Delete command: Userdel

User View

View Current user commands: WhoAmI

View all login user commands: Who

User ID view command: ID

Lesson 31 User Switching

User Switching

Inter-user Switch command: su command

User temporarily gets admin authorization command: sudo command name

Lesson 32 User Account Configuration

User account lockout

User account lockout: usermod-l

Unlocking the user account: Usermod-u

User account configuration file

User account file:/etc/passwd

User Shadow password file:/etc/shadow

NetEase Cloud Classroom _linux Operating system introduction (embedded development 0 Basic Ⅰ) _ Chapter 3:linux command (bottom)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.