Users & Group Management Part 2
Users & Group Management Part 2
Linux
PART-TWO 2
Liban Bashir
Network Security Administrator/
Former SYSTEM ADMIN
RHCSA / RHCE & RED HAT
VIRTUALIZATION
[email protected]
Permissions- agenda
Chage command
Chmod Command
Change group ownership
(chown)
Chage Command
The ‘chage’ command in Linux is a powerful
tool used to manage user password expiry and
account aging information. It is particularly
useful in environments where user access
needs to be controlled over time, such as when
login access is time-bound or when it’s
necessary to enforce regular password changes
for security purposes. With the
‘chage’ command, administrators can view and
modify password expiry details, set mandatory
password change intervals, specify account
expiration dates, and more.
What is the ‘chage’
command?
The ‘chage’ command, short for “change
age,” allows system administrators to
manage account aging parameters,
including when a password was last
changed, when it must be changed next,
and when an account should be locked or
warned about password expiration. This
command is essential for maintaining
security policies that require users to
update their passwords periodically or limit
the duration of user access.
Common Options and Examples of ‘chage’ command in
Linux
Chage –m 2 –M 30 –W 3 –I 5 ISAK
Vim /etc/login.defs
Chmod Command
Mkdir /Marketing
Chmod Command