Wiki source code of Zugriffsrechte

Last modified by Yunhao Wu on 2023/07/05 16:14

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