Wiki source code of Zugriffsrechte
Last modified by Aysegül Omus on 2025/01/16 13:03
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = Modify access rights on own files/home directory = | ||
2 | |||
3 | |||
4 | |||
5 | {{toc/}} | ||
6 | |||
7 | |||
8 | |||
9 | == 1. General == | ||
10 | |||
11 | Every student has a folder, which can be accessed via /u/halle/$USER . | ||
12 | |||
13 | $USER is the CIT-Login, which was received from the Infopoint and is used to login into the computer hall. | ||
14 | |||
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 | |||
23 | ---- | ||
24 | |||
25 | == 2. Restrict access on own folders (Homepage will not be accessible) == | ||
26 | |||
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#]] | ||
28 | |||
29 | Start the terminal in the lxhalle | ||
30 | |||
31 | |||
32 | |||
33 | {{html wiki="true"}} | ||
34 | {{code}}chmod go-rwx `dirname $HOME` | ||
35 | {{/code}} | ||
36 | {{/html}} | ||
37 | |||
38 | |||
39 | |||
40 | After using the following command | ||
41 | |||
42 | |||
43 | |||
44 | {{html wiki="true"}} | ||
45 | {{code}}ls -ld `dirname $HOME`{{/code}} | ||
46 | {{/html}} | ||
47 | |||
48 | |||
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 | |||
60 | ---- | ||
61 | |||
62 | == 3. Restrict access on all own folders except home_at == | ||
63 | |||
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: | ||
66 | |||
67 | Start the terminal in the lxhalle | ||
68 | |||
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 |