This commit is contained in:
szabomarton
2025-02-18 10:48:41 +01:00
commit 6106ebb7c1
23 changed files with 228 additions and 0 deletions

BIN
24_11_12/24_11_12.pptx Normal file

Binary file not shown.

BIN
24_11_12/Feladatok.docx Normal file

Binary file not shown.

38
24_11_12/megoldasok.txt Normal file
View File

@@ -0,0 +1,38 @@
sudo useradd -ms /bin/bash tanulo1
sudo passwd tanulo1
sudo groupadd tanulocsoport
sudo groupadd tesztcsoport
sudo usermod -a -G tanulocsoport tanulo1
sudo usermod -a -G tesztcsoport tanulo1
//2.feladat
touch dokumentum.txt
sudo chmod 764 dokumentum.txt
ls -al dokumentum.txt
sudo chmod 744 dokumentum.txt
//3.feladat
mkdir projektek
sudo chmod 750 projektek
ls -al projektek
//4.feladat
touch teszt.txt
sudo chmod 640 teszt.txt
ls -al teszt.txt
sudo chmod 760 teszt.txt
ls -al teszt.txt
//5.feladat
sudo useradd -ms /bin/bash tanulo2
sudo groupadd gyakorlat
touch projekt.txt
sudo chown tanulo2 projekt.txt
sudo chown :gyakorlat projekt.txt
ls -al projekt.txt
//6.
mkdir munkadokumentum
sudo chmod 760 munkadokumentum