Birmingham mumbai


Configuring administrator access



Download 15,21 Mb.
Pdf ko'rish
bet97/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   93   94   95   96   97   98   99   100   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

Configuring administrator access 
with sudo
By now, we've already used 
sudo
 quite a few times in this book. At this point, you 
should already be aware of the fact that 
sudo
 allows you to execute commands 
as if you were logged in as another user, with 
root
 being the default. However, 
we haven't had any formal discussion about it yet, nor have we discussed how to 
actually modify which of your user accounts are able to utilize 
sudo
.
On all Linux systems, you should protect your 
root
 account with a strong password 
and limit it to be used by as few people as possible. On Ubuntu, the 
root
 account is 
locked anyway, so unless you unlocked it by setting a password, it cannot be used 
to log in to the system. Using 
sudo
 is an alternative to logging in as 
root
 to execute 
commands directly, so you can give your administrators access to perform tasks that 
require 
root
 privileges with 
sudo
 without actually giving them your 
root
 password 
or unlocking the 
root
 account. In fact, 
sudo
 allows you to be a bit more granular. 
Using 
root
 directly is basically all or nothing—if someone knows the 
root
 password 
and the 
root
 account is enabled, that person is not limited and can do whatever they 
want. With 
sudo
, that can also be true, but you can actually restrict some users to 
use only particular commands and therefore limit the scope of what they are able to 
do on the system. For example, you could give an admin access to install software 
updates but not allow them to reboot the server.


Managing Users and Permissions

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   93   94   95   96   97   98   99   100   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish