Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet89/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   85   86   87   88   89   90   91   92   ...   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)

Managing passwords and 
password policies
In this chapter, we've already covered a bit of password management, since 
I've given you a few examples of the 
passwd
 command. If you recall, the 
passwd
 
command allows us to change the password of the currently logged-in user. In 
addition, using 
passwd
 as 
root
 (and supplying a username) allows us to change the 
password for any user account on our system. But that's not all this command can 
do.
Locking and unlocking user accounts
One thing I've neglected to mention regarding the 
passwd
 command is the fact that 
you can use it to lock and unlock a user's account. There are many reasons why you 
may want to do this. For instance, if a user is going on vacation or extended leave, 
perhaps you'd want to lock their account so that it cannot be used while they are 
away. After all, the fewer active accounts, the smaller your attack surface. To lock an 
account, use the 
-l
 option:
sudo passwd -l


Chapter 2

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   85   86   87   88   89   90   91   92   ...   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