Wiki source code of Zugriffsrechte
Last modified by Aysegül Omus on 2025/01/16 13:03
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
7.2 | 1 | = Modify access rights on own files/home directory = |
![]() |
1.1 | 2 | |
![]() |
7.2 | 3 | |
4 | |||
![]() |
1.1 | 5 | {{toc/}} |
6 | |||
7 | |||
8 | |||
![]() |
7.2 | 9 | == 1. General == |
![]() |
1.1 | 10 | |
![]() |
7.2 | 11 | Every student has a folder, which can be accessed via /u/halle/$USER . |
![]() |
1.1 | 12 | |
![]() |
7.2 | 13 | $USER is the CIT-Login, which was received from the Infopoint and is used to login into the computer hall. |
![]() |
1.1 | 14 | |
![]() |
7.2 | 15 | In this folder you can find different architectures like home//at for the Ubuntu VMs for the lxhalle.// |
16 | |||
17 | In order to facilitate the collaboration of students, most of those folders can be accessed by other students. | ||
18 | |||
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 | ---- |
![]() |
6.1 | 24 | |
![]() |
7.2 | 25 | == 2. Restrict access on own folders (Homepage will not be accessible) == |
![]() |
1.1 | 26 | |
![]() |
7.2 | 27 | More infomation about your own website: [[https:~~/~~/wiki.ito.cit.tum.de/bin/view/Informatik/Helpdesk/EigeneHomepage#>>https://wiki.ito.cit.tum.de/bin/view/Informatik/Helpdesk/EigeneHomepage#]] |
![]() |
1.1 | 28 | |
![]() |
7.2 | 29 | Start the terminal in the lxhalle |
![]() |
1.1 | 30 | |
![]() |
7.2 | 31 | |
32 | |||
![]() |
1.1 | 33 | {{html wiki="true"}} |
34 | {{code}}chmod go-rwx `dirname $HOME` | ||
35 | {{/code}} | ||
36 | {{/html}} | ||
37 | |||
38 | |||
39 | |||
![]() |
7.2 | 40 | After using the following command |
![]() |
1.1 | 41 | |
42 | |||
![]() |
7.2 | 43 | |
![]() |
1.1 | 44 | {{html wiki="true"}} |
45 | {{code}}ls -ld `dirname $HOME`{{/code}} | ||
46 | {{/html}} | ||
47 | |||
48 | |||
![]() |
7.2 | 49 | |
50 | the access rights should look like this: | ||
51 | |||
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 | ---- |
![]() |
6.1 | 61 | |
![]() |
7.2 | 62 | == 3. Restrict access on all own folders except home_at == |
![]() |
1.1 | 63 | |
![]() |
7.2 | 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 | |
![]() |
7.2 | 67 | Start the terminal in the lxhalle |
![]() |
1.1 | 68 | |
![]() |
7.2 | 69 | [[image:1677684222179-370.png]] |
70 | |||
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 |