Probleme ASO

download Probleme ASO

of 3

Transcript of Probleme ASO

  • 7/25/2019 Probleme ASO

    1/3

    1. A) fnd tomos -user cipri -name *om*.* | xargs du shb) chmod u+s tomy.txt fnd tomos -user cipri perm 4000 -name *om*.* | xargs du shc) chmod 0 fenamefnd tomos -user cipri -perm -g+!

    ". A) umas# $$$ tomy.txt%) chmod $&1 tomy.txt

    '. (dis# dis# de,sda - ncreate ne! partition) pehttp/!!!.ho!togee#.comho!to40$0"ho!-to-manage-and-use-,m-

    ogica-,oume-management-in-ubuntu

    4. a&. %)udo useradd username - ,ie! cu cat etcpass!d

    2) setac -m u/user"/r tomy.txt

    3. A) grep -r saned etcinit.d

    5s etcinit.d

    10. a) in etcaptapt.con Ac6uire//http//7roxy http/yourproxyaddress/proxyport8

    b)apt-get insta apt-fe

    apt-fe update

    apt-fe search pc#g name

    ")1 2eschidem etcprofe / ,i etcprofe si adaugam umas# $$$" m#dir tmptestdir' chmod -9 $&1 tmptestdir4 touch tmp:;:2

  • 7/25/2019 Probleme ASO

    2/3

    = chmod -9 =44 tmp:;:2 ,g-test *')4m#s.ext" de,,g-test,1-testm#s.ext4 de,,g-test,"-testm#s.,at de,,g-test,"-test&.mount de,,g-test,1 mntdir1 creem mai intai cee ' directoare)= d -------$a e?,gextend ,g-text de,sdd

    4) e crea@a 22 in masina ,irtuaadis# - pt a e ,edea

    sudo cdis# de,sdaapoi se partitionea@a seectand primara si dimensiunea si apoi ogica si

    dimensiunea

    &)1.umas# $$$" touch tmptestfe

    '.useradd user1 useradd user"

    4.groupadd userssetac -m mas#/r-- tmptestfesetact -m u/user1/r!- tmptestfesetact -m u/user"/r!x tmptestfe

    =)1.useradd testuser -d homeuserstest -s binbash".groupadd testgroup'adduser testuser testgroup

    ?) 1 useradd user1useradd user"" groupadd admin

    '-usermod -B admin

    3) 1 s etcinit.d -afsea@a ce a,em in director pentru a ,edea cum se

    numeste fsieru de confgurare apachegrep -nr apache" etcinit.d -n arata nr iniei in fsier r- cautare recursi,a)

    %AC:A 2C7A A7A%;

  • 7/25/2019 Probleme ASO

    3/3

    &- ser,ice apache" status=-10) 1 gedit etcaptapt.conadd Ac6uire//http//7roxy http/yourproxyaddress/proxyport8" dp#g-6uery - oadhyph-ro.tex ------------------------------'apt-get --assume-yes insta FF.