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)