Hi,
I know the basics of using a UNIX environment, but I'm not quite sure how to do these types of things...
I saw the useradd, userdel, passwd and usermod commands, which look like they do some of the things I need, but not all. Here are the different user status operations I need to do:
Add User - Use useradd.
Delete User - Use userdel.
Change Password:
Administratively (& expire password) - Use passwd with username?
As a user - Use passwd without username?
Administratively Disable User: - ???
Lock Account as a user - Try logging in with bad password x times.
Administratively Enable User - ???
Unlock Account - ???
List the current status of account (i.e. Locked, Disabled, Expired Password...) - ???
Can someone help me fill in the gaps for the operations listed above?
I know the basics of using a UNIX environment, but I'm not quite sure how to do these types of things...
I saw the useradd, userdel, passwd and usermod commands, which look like they do some of the things I need, but not all. Here are the different user status operations I need to do:
Add User - Use useradd.
Delete User - Use userdel.
Change Password:
Administratively (& expire password) - Use passwd with username?
As a user - Use passwd without username?
Administratively Disable User: - ???
Lock Account as a user - Try logging in with bad password x times.
Administratively Enable User - ???
Unlock Account - ???
List the current status of account (i.e. Locked, Disabled, Expired Password...) - ???
Can someone help me fill in the gaps for the operations listed above?