Birmingham mumbai


Setting password expiration information



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

Setting password expiration information
Earlier, I mentioned that you can set an expiration date on a user's password 
(during our discussion on the 
/etc/shadow
 file). In this section, we'll go through 
how to actually do that. Specifically, the 
chage
 command gives us this ability. We 
can use 
chage
 to alter the expiration period of a user's password, but it's also a more 
convenient way of viewing current expiration information than viewing the 
/etc/
shadow
 file. With the 
-l
 option of 
chage
, along with providing a username, we can see 
the relevant info:
sudo chage -l
Using 
sudo
 or 
root
 is not required to run 
chage
. You're able to 
view expiration information for your own username without 
needing to escalate permissions. However, if you want to view 
information via 
chage
 for any user account other than your own, 
you will need to use 
sudo
.


Managing Users and Permissions

Download 15,21 Mb.

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