Linux Learning (ii)

Source: Internet
Author: User

Linux user identities and group records

In our Linux system, in the default case, all the accounts on the system and the general identity users, as well as the root of the relevant information, are recorded in the/etc/passwd file.

The password is recorded in the/etc/shadow file.

All Linux group names are recorded in/etc/group!

These three files can be said to be the Linux system inside the account, password, group information centralized, do not delete these three files!

/etc/passwd &/etc/shadow detailed http://blog.csdn.net/snlying/article/details/6130468

The ability to perform a file under Windows is name "To determine, for example:. exe,. bat,. com, and so on, but under Linux, whether our files can be executed, is determined by having the attribute x! So, there is no absolute relationship with the file name!

For example:

       If my directory is the bottom style, will testgroup members of this group and others (others) be able to enter this directory?   No
       drwxr-xr--1 test1 testgroup 5238 June, 10:25 groups/
  & nbsp;    A:
  file owner Test1 can do any work in this directory, can go into this directory to work, but
  without the rights of X, so others User,
  and Testgroup This group's account, such as Test2, Test3 also is not in this directory to write the action, as for the other's permissions, although there is r, but because there is no X permission, so others users, and Cannot enter this directory!

Translation of Chinese and English characters under Linux
Text can not be displayed in the text type of the terminal, so this column will become a strange garbled, this time, please modify/etc/sysconfig/i18n This file, inside the "Lc_time" modified to: "lc_time=en" and then stored away, and then log in once, You can get the date of the English glyph display!
So how do you modify the file? Oh! Modify with VI as root. Alternatively, you can use syntax such as "lang=en ls-al" to display it.

How to change file permissions










Linux Learning (ii)

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.