os_cp:users_permissions
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| os_cp:users_permissions [2026/03/17 13:11] – jkonczak | os_cp:users_permissions [2026/03/18 20:56] (current) – [Changing permissions, group and owner of a file] jkonczak | ||
|---|---|---|---|
| Line 334: | Line 334: | ||
| The '' | The '' | ||
| - | //Do the exercises on the SSH server indicated during classes ('' | + | //Do the exercises on the SSH server indicated during classes ('' |
| \\ To create files, you may use e.g., the // '' | \\ To create files, you may use e.g., the // '' | ||
| + | |||
| + | < | ||
| + | ++++ Instructions for using your own Linux box to do the exercises | | ||
| + | To do the exercises on your own computer, you may either: | ||
| + | - Use the following commands to add sample groups and users to your system:< | ||
| + | groupadd even | ||
| + | groupadd odd | ||
| + | groupadd low | ||
| + | groupadd high | ||
| + | useradd -g odd -G low -m user1 | ||
| + | useradd -g even -G low -m user2 | ||
| + | useradd -g odd -G high -m user3 | ||
| + | useradd -g even -G high -m user4 | ||
| + | passwd -d user1 | ||
| + | passwd -d user2 | ||
| + | passwd -d user3 | ||
| + | passwd -d user4</ | ||
| + | - Build & use {{so: | ||
| + | curl -s https:// | ||
| + | docker build --tag container-for-file-permission-labs container-for-file-permission-labs | ||
| + | docker run --network=none --rm -ti container-for-file-permission-labs</ | ||
| + | ++++ | ||
| + | </ | ||
| ~~Exercise.# | ~~Exercise.# | ||
os_cp/users_permissions.1773753072.txt.gz · Last modified: (external edit)