2.27linux and Windows Interop files 3.1 user profiles and password Profiles 3.2 user groups manage 3.3 user management

Source: Internet
Author: User

2.27linux and Windows inter-pass files

3.1 User profile and password configuration files

3.2 User Group Management

3.3 User Management


2.27 Linux and Windows inter-pass files

The Prime minister can only use remote Tools

Xshell, SECURECRT

Install a package first

Yum Install-y Lrzsz

SZ + filename to upload files from Linux to Windows

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 4ac2ac81926d4501a5c79a71f7ece200/6587 "style=" height:auto;margin-top:8px;border:0px; "/>

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ e12a8150df4f44ed8e7b29ec0dd3b94c/6589 "style=" height:auto;margin-top:8px;border:0px; "/>

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ f287e33dbd80423ca646145ce521f8da/6619 "style=" height:auto;margin-top:8px;border:0px; "/>

Upload 4.txt from Linux to Windows

Use RZ return

You can do it. Files on Windows are uploaded to the current directory under Linux

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 5c2373bdb772452e96e509538f2fa07f/6610 "style=" height:auto;margin-top:8px;border:0px; "/>

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 1e9c18d30a6a444898e256a3d7eadee4/6608 "style=" height:auto;margin-top:8px;border:0px; "/>

Transfer bij.txt on Windows to the current directory

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ dae12b9cb8c74c38876a9c1b80193b86/6629 "style=" height:auto;margin-top:8px;border:0px; "/>

3.1 User profile and password configuration files

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 7c92eae8456e45f7996931e78d89205e/6612 "style=" height:auto;margin-top:8px;border:0px; "/>

This is a file that specifically controls the user's password.

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ b0b4c77cc7c74cabb0dae19a766cc751/6615 "style=" height:auto;margin-top:8px;border:0px; "/>

Look at the front 1 lines of the/etc/shadow file and the 2 lines of the/etc/shadow file

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ e1e5053698ad4b8bb53e62d3eca07356/6623 "style=" height:auto;margin-top:8px;border:0px; "/>

Set a password for the aming user

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 002ef9c95de84f4aa1c45809b8586b83/6630 "style=" height:auto;margin-top:8px;border:0px; "/>

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 2c2f2df41d6a4b79ba3fbdbd1f2d7e56/6609 "style=" height:auto;margin-top:8px;border:0px; "/>

Man Shadow View

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 1479e645947642d0b70d24c0e7f947c9/6613 "style=" height:auto;margin-top:8px;border:0px; "/>

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ a356ab8f54ec44a8809c0617899afe42/6611 "style=" height:auto;margin-top:8px;border:0px; "/>

3.2 User Group Management

User group Password configuration file

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ cd30045fb95341d0974ce1e6bfa79e71/6620 "style=" height:auto;margin-top:8px;border:0px; "/>

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 33f60ddb96d34f69bec5cfef9c7f9f7c/6617 "style=" height:auto;margin-top:8px;border:0px; "/>

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 69d3494ca0ce4eab831e8e5ebbfb0aad/6632 "style=" height:auto;margin-top:8px;border:0px; "/>

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 10d31946f0a74c42b55a3963897bc4b6/6635 "style=" height:auto;margin-top:8px;border:0px; "/>

Add a group GRP1 view the last line

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 87a6a513a6de4128b8b33b4d9f1f0b7e/6633 "style=" height:auto;margin-top:8px;border:0px; "/>

Add a group Grp2 define GID to 1005

Normal group of

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ bedaa5f07da241fa864c0018a354e7c2/6627 "style=" height:auto;margin-top:8px;border:0px; "/>

Remove Group GRP1

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ c4b090680d8d44bd855f8e7fe1b5a72a/6634 "style=" height:auto;margin-top:8px;border:0px; "/>

Delete Group User1

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ d73d238985f34d8d88dbe3f1dfb5bb53/6636 "style=" height:auto;margin-top:8px;border:0px; "/>

Failed, because there are users in User1, if you want to delete a group, the group can not have users

3.3 User Management

Add a user User2

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ ac5bc223fa1142018d36c6899df52dd9/6624 "style=" height:auto;margin-top:8px;border:0px; "/>

Normal user UID starting from 1000

Create user User3 Specify a UID of 1005 for the specified group GRP2

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 0006e07ea86941ec8fe06592e82a46e7/6621 "style=" height:auto;margin-top:8px;border:0px; "/>

Create user user4 Specify UID 1006 Specify the group for GRP2 specify the home directory/home/aming111 Specify the shell

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ f473a60643494683ad07c9c05eb75524/6622 "style=" height:auto;margin-top:8px;border:0px; "/>

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 95f5c5aca2bf4cf1b5e9c7550c946aca/6637 "style=" height:auto;margin-top:8px;border:0px; "/>

Create a user User5 colleague does not create a home directory

But the home directory is still there, is/home/user5 just this directory does not exist

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 9d445738aca44c94807ef93de45c2c96/6625 "style=" height:auto;margin-top:8px;border:0px; "/>

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 4440b43393994650aed89c270fc30cbb/6628 "style=" height:auto;margin-top:8px;border:0px; "/>

The newly created UID will be counted from the natural beginning of 1006.

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 65696147080e4e38a5af2381c7a6e738/6618 "style=" height:auto;margin-top:8px;border:0px; "/>

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 9619092f9611443ca92111ac61ddbc75/6626 "style=" height:auto;margin-top:8px;border:0px; "/>

The UID of the new user will increase itself

And the GID and the above number does not matter, he will not according to the GID to increase their own, only according to the UID increase

Useradd AddUser is the same command.

Delete User

Userdel

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ a54bfa52b3b54008ae6726085c93d9a4/6614 "style=" height:auto;margin-top:8px;border:0px; "/>

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 906754e1901549d2a78384ff3d11433d/6616 "style=" height:auto;margin-top:8px;border:0px; "/>

650) this.width=650; "Src=" http://note.youdao.com/yws/public/resource/58f068e7e4922c15771ee2ef3360a34e/xmlnote/ 9c20954a7e944fa4b21f6213dc376bb5/6631 "style=" height:auto;margin-top:8px;border:0px; "/>

Userdel-r Delete User at the same time delete user's home directory


2.27linux and Windows Interop files 3.1 user profiles and password Profiles 3.2 user groups manage 3.3 user management

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.