Wiki source code of Zugriffsrechte

Last modified by Aysegül Omus on 2025/01/16 13:03

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