Wiki source code of Zugriffsrechte
Last modified by Yunhao Wu on 2023/07/05 16:14
Hide last authors
author | version | line-number | content |
---|---|---|---|
6.1 | 1 | = Modify access rights on own files / home directory = | |
1.1 | 2 | ||
3 | |||
4 | |||
5 | {{toc/}} | ||
6 | |||
7 | |||
8 | |||
6.1 | 9 | == 1. General == | |
1.1 | 10 | ||
6.1 | 11 | Every student has a folder, which can be accessed via /u/halle/$USER . | |
1.1 | 12 | ||
6.1 | 13 | $USER is the ITO-Login, which was received from the Infopoint and is used to login into the computer hall. | |
1.1 | 14 | ||
6.1 | 15 | In this folder you can find different architectures like home//at for the Ubuntu VMs for the lxhalle.// | |
1.1 | 16 | ||
6.1 | 17 | In order to facilitate the collaboration of students, most of those folders can be accessed by other students. | |
1.1 | 18 | ||
6.1 | 19 | Important folders like the home_mail and home//sec are only visible and writeable by the active user.// | |
20 | |||
21 | These notes are explicitly valid only for the lxhalle. | ||
22 | |||
1.1 | 23 | ---- | |
24 | |||
6.1 | 25 | == 2. Restrict access on own folders (Homepage will not be accessible) == | |
1.1 | 26 | ||
6.1 | 27 | More infomation about your own website: https://xwiki.rbg.tum.de/bin/view/Informatik/Helpdesk/EigeneHomepage | |
1.1 | 28 | ||
6.1 | 29 | Start the terminal in the lxhalle | |
30 | |||
31 | |||
32 | |||
1.1 | 33 | {{html wiki="true"}} | |
34 | {{code}}chmod go-rwx `dirname $HOME` | ||
35 | {{/code}} | ||
36 | {{/html}} | ||
37 | |||
38 | |||
39 | |||
6.1 | 40 | After using the following command | |
1.1 | 41 | ||
42 | |||
6.1 | 43 | ||
1.1 | 44 | {{html wiki="true"}} | |
45 | {{code}}ls -ld `dirname $HOME`{{/code}} | ||
46 | {{/html}} | ||
47 | |||
48 | |||
49 | |||
6.1 | 50 | the access rights should look like this: | |
1.1 | 51 | ||
6.1 | 52 | ||
53 | |||
54 | {{html wiki="true"}} | ||
55 | {{code}}drwx------ 10 tumuser 10 2011-07-05 16:46 {{/code}} | ||
56 | {{/html}} | ||
57 | |||
58 | |||
59 | |||
1.1 | 60 | ---- | |
61 | |||
6.1 | 62 | == 3. Restrict access on all own folders except home_at == | |
1.1 | 63 | ||
6.1 | 64 | In order to make the homepage accessible, the folders /u/halle/$USER and /u/halle/$USER/home_page need the Execute-permission (x) for other (o). | |
65 | This can be achieved as follows: | ||
1.1 | 66 | ||
6.1 | 67 | Start the terminal in the lxhalle | |
1.1 | 68 | ||
6.1 | 69 | [[image:1677684222179-370.png]] | |
1.1 | 70 | ||
6.1 | 71 | After using the following commands | |
72 | |||
73 | [[image:1677684239820-692.png]] | ||
74 | |||
75 | the access rights should look like this: | ||
76 | |||
77 | [[image:1677684254987-720.png]] | ||
78 | |||
79 |