This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
os_cp:users_permissions [2024/03/11 18:59] jkonczak |
os_cp:users_permissions [2025/03/31 14:30] (current) jkonczak |
||
---|---|---|---|
Line 4: | Line 4: | ||
A user is identified by a numerical __u__ser __id__entifier – **uid**. Uids are mapped to usernames. | A user is identified by a numerical __u__ser __id__entifier – **uid**. Uids are mapped to usernames. | ||
\\ | \\ | ||
- | A group is identified by a numerical __g__roup __id__entifier – **uid**, that are likewise mapped to group names. | + | A group is identified by a numerical __g__roup __id__entifier – **gid**, that are likewise mapped to group names. |
A user must be in one primary group and can be in multiple supplementary groups. | A user must be in one primary group and can be in multiple supplementary groups. | ||
Line 65: | Line 65: | ||
<html><small></html> | <html><small></html> | ||
| | ||
+ | ++++ Examples: | {{section>so:users_chmod:examples-en#id&inline&noheader}} ++++ | ||
+ | |||
==== [extra] Logged on users, logon history, messaging others ==== | ==== [extra] Logged on users, logon history, messaging others ==== | ||
Line 98: | Line 100: | ||
<html></small></html> | <html></small></html> | ||
+ | |||
+ | ++++ Examples: | {{section>so:users_chmod:examples-en#who&inline&noheader}} ++++ | ||
==== Switching to another user ==== | ==== Switching to another user ==== | ||
Line 119: | Line 123: | ||
<html></small></html> | <html></small></html> | ||
+ | |||
+ | ++++ Examples: | {{section>so:users_chmod:examples-en#su&inline&noheader}} ++++ | ||
===== File permissions ===== | ===== File permissions ===== | ||
Line 261: | Line 267: | ||
</small> | </small> | ||
+ | |||
+ | <html><style>.wrap_nomargin{margin:0} .wrap_nomargin p{margin:0}</style></html> | ||
+ | <WRAP nomargin> | ||
+ | Examples: | ||
+ | ++++ umask | {{section>so:users_chmod:examples-en#umask&inline&noheader}} ++++ | ||
+ | ++++ manipulating mode bits | {{section>so:users_chmod:examples-en#chmod&inline&noheader}} ++++ | ||
+ | ++++ user, group or others | {{section>so:users_chmod:examples-en#ugo&inline&noheader}} ++++ | ||
+ | ++++ write-only and read-only files | {{section>so:users_chmod:examples-en#write_only&inline&noheader}} ++++ | ||
+ | ++++ creating/removing directory entries | {{section>so:users_chmod:examples-en#dir_create_remove&inline&noheader}} ++++ | ||
+ | </WRAP> | ||
+ | ++++ suid and sgid | {{section>so:users_chmod:examples-en#suid_sgid&inline&noheader}} ++++ | ||
+ | |||
===== Change, modify and access date ===== | ===== Change, modify and access date ===== | ||
Line 285: | Line 303: | ||
<html></small></html> | <html></small></html> | ||
+ | |||
+ | ++++ Examples: | {{section>so:users_chmod:examples-en#touch&inline&noheader}} ++++ | ||