Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet93/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   89   90   91   92   93   94   95   96   ...   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)

[
 63 
]
To set a user account to require a password change after a certain period of days, the 
following will do the trick:
sudo chage -M 90  
In that example, I'm setting the user account to expire and require a password 
change in 90 days. When the impending date reaches 7 days before the password is 
to be changed, the user will see a warning message when they log in.
As I mentioned earlier, users will often do whatever they can to cheat password 
requirements and may try to change their password back to what it was originally 
after satisfying the initial required password change. You can set the minimum 
number of days with the 
-m
 flag, as you can see in the next example where we set it 
to 5 days:
sudo chage -m 5 dscully
The trick with setting a minimum password age is to set it so that it will be 
inconvenient for the user to change their password to the original one, but you still 
want a user to be able to change their password when they feel the need to (so don't 
set it too long, either). If a user wants to change their password before the minimum 
number of days elapses (for example, if your user feels that their account may have 
been compromised), they can always have you change it for them. However, if you 
make your password requirements too much of an inconvenience, it can also work 
against you.

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   89   90   91   92   93   94   95   96   ...   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