Phakathi nokufakwa kohlelo lokusebenza lwe-Ubuntu, kudalwe umsebenzisi oyedwa kuphela onamalungelo okumpande nanoma yimaphi amakhono okuphatha ikhompyutha. Ngemva kokuthi ukufakwa kuqedile, kunokufinyelela ukudala inombolo engenamkhawulo yabasebenzisi abasha, ukubeka ngalinye lamalungelo alo, ifolda yasekhaya, usuku lokuvala kanye neminye imingcele. Esihlokweni samanje, sizozama ukutshela ngale nqubo ngemininingwane eminingi ngangokunokwenzeka, sinikezela incazelo eqenjini ngalinye elitholakala ku-OS.
Engeza umsebenzisi omusha ku-Ubuntu
Ungakha umsebenzisi omusha ngezindlela ezimbili, futhi indlela ngayinye inezilungiselelo zayo eziqondile futhi izoba usizo ezimweni ezahlukene. Ake sibheke ngokuningiliziwe inguqulo ngayinye yomsebenzi, futhi wena, ngokusekelwe ezidingweni zakho, khetha okulungile kakhulu.
Indlela 1: Isiphetho
Isicelo esibalulekile kunoma yisiphi isistimu yokusebenza ku-kernel ye Linux - "Isikhumbuzo". Ngenxa yalesi console, kwenziwa imisebenzi ehlukahlukene, kuhlanganise nokwengezwa kwabasebenzisi. Lokhu kuzobandakanya umbuso owodwa owakhelwe ngaphakathi, kodwa ngezimpikiswano ezahlukene, esizichaza ngezansi.
- Vula imenyu bese ugijima "Isikhumbuzo"noma ungabamba inhlanganisela yesihluthulelo I-Ctrl + Alt + T.
- Bhalisa iqembu
umsebenzisi -D
ukuze uthole imingcele ejwayelekile ezosetshenziselwa umsebenzisi omusha. Lapha uzobona ifolda yasekhaya, imilabhu namalungelo. - Dala i-akhawunti ngezilungiselelo ezijwayelekile kuzosiza umyalo olula
igama lomsebenzisi we-sudo
kuphi igama - noma yiliphi igama lomsebenzisi langena ezinhlamvu zesiLatini. - Lesi senzo sizokwenziwa kuphela emva kokufaka iphasiwedi yokufinyelela.
Inqubo yokwakha i-akhawunti ngemingcele ejwayelekile ifakwe ngempumelelo. Ngemuva kokuqalisa umyalo, insimu entsha izoboniswa. Lapha ungangena ingxabano -pngokucacisa iphasiwedi kanye nengxabano -sngokucacisa igobolondo ukusebenzisa. Isibonelo somyalo onjalo sibonakala kanje:sudo useradd -p password -s / bin / bash umsebenzisi
kuphi i-passsword - noma iyiphi iphasiwedi elula / bin / bash - indawo yegobolondo, futhi umsebenzisi - igama lomsebenzisi omusha. Ngakho umsebenzisi udalwa usebenzisa izimpikiswano ezithile.
Ngokwehlukana, ngingathanda ukunaka ingxabano -G. Ikuvumela ukuba ungeze i-akhawunti eqenjini elifanele ukusebenza ngedatha ethile. Emaqenjini amakhulu yilokhu okulandelayo:
- uyavuma - imvume yokufunda izingodo kusuka kufolda / var / log;
- cdrom - kuvunyelwe ukusebenzisa idrayivu;
- isondo - ikhono lokusebenzisa umyalo sudo ukuhlinzeka ukufinyelela kwemisebenzi ethize;
- i-plugdev - imvume yokufaka amashayela angaphandle;
- ividiyo, umsindo - Ukufinyelela kubashayeli bomsindo namavidiyo.
Esikrinini esingenhla, ungabona ukuthi yiliphi ifomethi amaqembu afakiwe uma usebenzisa umyalo umsebenzisi ngempikiswano -G.
Manje usujwayele inqubo yokwengeza ama-akhawunti amasha nge-console ku-Ubuntu OS, kodwa, asizange sicabange zonke izimpikiswano, kodwa ezimbalwa kuphela eziyisisekelo. Eminye imiyalo ethandwayo ine-notation elandelayo:
- -b - sebenzisa isiqondisi sesisekelo ukuze ufake amafayela womsebenzisi, ngokuvamile ifolda / ekhaya;
- -c - engeza amazwana kokuthunyelwe;
- -e - isikhathi esilandelayo lapho umsebenzisi odalwe uzovinjelwa. Gcwalisa ifomethi YYYY-MM-DD;
- -f - ukuvimbela umsebenzisi ngokushesha ngemva kokwengeza.
Njengoba izibonelo zesabelo sezimpikiswano, usuvele uzijwayele ngenhla, konke kufanele kuhlelwe njengoba kuboniswe ku-skrini, besebenzisa isikhala ngemuva kokungeniswa komusho ngamunye. Kuyafaneleka futhi ukuqaphela ukuthi i-akhawunti ngayinye iyatholakala ukuze kwenziwe izinguquko ezengeziwe nge-console efanayo. Ukuze wenze lokhu, sebenzisa umyalosudo usermod umsebenzisi
ngokufaka phakathi usermod futhi umsebenzisi (igama lomsebenzisi) izingxabano ezidingekayo namagugu. Lokhu akusebenzi kuphela ekushintsheni iphasiwedi, kufakwe esikhundleniumsebenzisi we-sudo pass 123d
kuphi 12345 - iphasiwedi entsha.
Indlela 2: Imenyu yezinketho
Akuwona wonke umuntu okhululekile ukusebenzisa "Isikhumbuzo" futhi ukuqonda zonke lezi zizathu, imiyalo, ngaphandle kwalokho, akudingeki ngaso sonke isikhathi. Ngakho-ke, sinqume ukubonisa indlela elula, kodwa engaphansi kwesimo sokwengeza umsebenzisi omusha ngokusebenzisa isikhombimsebenzisi esibonakalayo.
- Vula imenyu bese uyifuna. "Izinketho".
- Ephaneli elingezansi, chofoza "Ulwazi lweSistimu".
- Iya kusigaba "Abasebenzisi".
- Ukuhlelwa okuqhubekayo kuzodinga ukuvula, ngakho chofoza inkinobho efanelekile.
- Faka iphasiwedi yakho bese uchofoza "Qinisekisa".
- Manje inkinobho ivuliwe. "Engeza umsebenzisi".
- Okokuqala, gcwalisa ifomu eliyinhloko, ekhombisa uhlobo lwerekhodi, igama eligcwele, igama lefolda yasekhaya nephasiwedi.
- Okulandelayo kuzoboniswa "Engeza"kuphi futhi kufanele uchofoze inkinobho yesinxele segundane.
- Ngaphambi kokushiya, qiniseka ukuqinisekisa yonke imininingwane engenisiwe. Ngemuva kokuqalisa uhlelo lokusebenza, umsebenzisi uzokwazi ukungena ngemvume ngephasiwedi yakhe, uma ifakiwe.
Lezi zindlela ezimbili ezingenhla zokusebenza nama-akhawunti kuzokusiza ukulungisa amaqembu kahle ohlelweni lokusebenza futhi uveze umsebenzisi ngamunye kumalungelo abo. Mayelana nokususwa kokungenwa okungafunwa, kwenziwa ngokusebenzisa imenyu efanayo "Izinketho" noma iqembuumsebenzisi we-sudo userdel
.