Pali mavoti pamene kuli kofunika kupeza omwe akulembetsa m'zinthu zoyendetsera Linux. Izi zingafunike kuti mudziwe ngati pali ogwiritsa ntchito, ngati wogwiritsa ntchito kapena gulu lonse likufunikira kusintha deta yawo.
Onaninso: Momwe mungawonjezere ogwiritsa ntchito ku gulu la Linux
Njira zowunika mndandanda wa ogwiritsa ntchito
Anthu omwe amagwiritsira ntchito dongosolo lino nthawi zonse akhoza kuchita izi pogwiritsa ntchito njira zosiyanasiyana, ndipo oyambitsa ndizovuta kwambiri. Choncho, malangizo, omwe adzafotokozedwe pansipa, athandiza wosadziwa zambiri kuti agonjetse ntchitoyo. Izi zikhoza kuchitika pogwiritsa ntchito zomangidwe Terminal kapena mapulogalamu angapo omwe ali ndi mawonekedwe owonetsera.
Njira 1: Mapulogalamu
Mu Linux / Ubuntu, olemba omwe amalembedwa m'dongosolo angathe kuthandizidwa mothandizidwa ndi magawo operekedwa ndi pulogalamu yapadera.
Tsoka ilo, chifukwa cha chidziwitso chadongosolo ladongosolo, mapulogalamu a Gnome ndi Unity ndi osiyana. Komabe, onsewa amatha kupereka zofunikira ndi zida zowonetsera ndikukonzekera magulu osuta ku Linux.
"Zotsatira" mu Gnome
Choyamba, kutsegula dongosolo la dongosolo ndikusankha gawo lotchedwa "Zotsatira". Chonde dziwani kuti ogwiritsira ntchito sagwiritsidwe ntchito pano. Mndandanda wa ogwiritsa ntchito olembetsawo uli pazanja kumanzere; kumanja kuli gawo lokhazikitsa ndi kusintha deta kwa aliyense wa iwo.
Pulogalamu ya "Ogwiritsa Ntchito ndi Magulu" m'gawo la Gnome GUI nthawi zonse imayikidwa ndi chosasintha; komabe, ngati simukulipeza mu dongosolo, mukhoza kumasula ndikuyiika pogwiritsa ntchito lamulo "Terminal":
sudo apt-get kukhazikitsa mgwirizano umodzi
KUser mu KDE
Kwa KDE platform, pali ntchito imodzi, yomwe ndi yabwino kwambiri yogwiritsira ntchito. Amatchedwa KUser.
Maonekedwe a pulojekiti amawonetsera onse ogwiritsidwa ntchito, ngati kuli kofunikira, mukhoza kuona dongosolo. Pulogalamuyi ikhoza kusintha mauthenga achinsinsi, kuwasintha kuchokera ku gulu limodzi kupita ku lina, kuwachotsa ngati kuli koyenera, ndi zina zotero.
Monga ndi Gnome, KDE ili ndiSeser yosungidwa mwadala, koma mukhoza kuchotsa. Kuti muyambe kugwiritsa ntchito, yesani lamulolo "Terminal":
sudo apt-get kukhazikitsa kuser
Njira 2: Kutsegula
Njira iyi ndiyonse kwa magawo ambiri opangidwa pogwiritsa ntchito kayendedwe ka Linux. Chowonadi ndi chakuti chiri ndi fayilo lapadera mu mapulogalamu ake, kumene chidziwitso chokhudza aliyense wogwiritsa ntchito chikupezeka. Chipepala choterocho chili pa:
/ etc / passwd
Zonse zolembedwamo zimaperekedwa mu fomu lotsatira:
- dzina la aliyense wogwiritsa ntchito;
- nambala yodziwika yeniyeni;
- Chinsinsi cha ID;
- ID ya Gulu;
- dzina la gulu;
- nyumba yolojekiti;
- nambala yowunikira kunyumba.
Onaninso: Malamulo omwe amagwiritsidwa ntchito nthawi zambiri mu Linux "Terminal"
Kuonjezera chitetezo, chilembacho chimasunga mawu achinsinsi a aliyense wosuta, koma sichiwonetsedwe. Muzinthu zina zosinthidwa pulogalamuyi, mapasipoti amasungidwa m'malemba osiyana.
Mndandanda wonse wa ogwiritsa ntchito
Mutha kuyitumiza ku fayilo ndi deta yosungidwa "Terminal"Pogwiritsa ntchito lamulo ili:
kamba / etc / passwd
Chitsanzo:
Ngati ID ya osuta ili ndi manambala osachepera anayi, ndiye kuti detayi ndi deta yomwe mungasinthe ndi yosafunika kwambiri. Chowonadi ndi chakuti iwo adalengedwa ndi OS mwiniyokha pokhazikitsa dongosolo kuti atsimikizire kuti ntchito yotetezeka kwambiri yothandizira zambiri.
Mayina mu mndandanda wa osuta
Tiyenera kukumbukira kuti mu fayiloyi pangakhale deta zambiri zomwe simukuzifuna. Ngati pali chofunika kuti muphunzire mayina ndi mfundo zenizeni zokhudzana ndi ogwiritsa ntchito, ndizotheka kufotokozera detayi potsatira lamulo lotsatira:
sed 's /:..///' / etc / passwd
Chitsanzo:
Onani ogwiritsa ntchito yogwira ntchito
Mu machitidwe opangidwa kuchokera ku Linux, simungathe kuona olemba omwe adalemba, komanso omwe akugwira ntchito panopa, panthawi yomweyi akuyang'ana njira zomwe amagwiritsa ntchito. Kwa opaleshoni yotereyi, ntchito yapadera imagwiritsidwa ntchito, yotchedwa lamulo:
w
Chitsanzo:
Chothandizira ichi chidzapereka malamulo onse omwe akuchitidwa ndi ogwiritsa ntchito. Ngati panthawi imodzi akuchita magulu awiri kapena angapo, adzalandanso mndandanda womwe ukuwonetsedwa.
Nkhani Za alendo
Ngati ndi kotheka, n'zotheka kuwonetsa ntchito ya ogwiritsa ntchito: fufuzani tsiku lomaliza lolowera ku dongosolo. Ikhoza kugwiritsidwa ntchito pa maziko a logi / var / wtmp. Ikuitanidwa mwa kulowetsa lamulo lotsatila pa mzere wa lamulo:
potsiriza -a
Chitsanzo:
Tsiku lomaliza la Ntchito
Kuphatikizanso, mu machitidwe a Linux, mukhoza kudziwa pamene aliyense wa olemba ntchitoyo amatha kugwira ntchito - izi zimachitika ndi lamulo lastlogkuphedwa pogwiritsa ntchito funso lomwelo:
lastlog
Chitsanzo:
Lembalili likuwonetsanso zambiri za ogwiritsa ntchito omwe sanayambe kugwira ntchito.
Kutsiliza
Monga mukuonera "Terminal" limapereka zambiri zokhudzana ndi aliyense wogwiritsa ntchito. N'zotheka kupeza omwe ndilowetsani ku dongosolo, kudziwa ngati achilendo amagwiritsa ntchito, ndi zina zambiri. Komabe, kwa wogwiritsa ntchito zambiri zingakhale bwino kugwiritsa ntchito pulogalamuyi ndi mawonekedwe owonetsera, kuti musayang'anitse kwenikweni za malamulo a Linux.
Ndi kosavuta kuona mndandanda wa ogwiritsira ntchito, chinthu chofunikira ndikumvetsetsa momwe ntchitoyi ikugwirira ntchito komanso cholinga chake chikugwiritsidwa ntchito.