answersLogoWhite

0


Best Answer

usermod -e, --expiredate EXPIRE_DATE

The date on which the user account will be disabled. The date is specified in the format YYYY-MM-DD.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which Linux commands can be used to set an expiration date for a user's password?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why use Linux basic commands?

Many Linux users find the command line quicker than using the Graphic User Interface (GUI).


Which command displays the users who are currently logged into the Linux system?

There are a series of commands, depending on what and how much information you want on logged in users. The commands are: who w users finger (if installed)


How do I override log in password on Linux OP system?

Answer - Not unless you're RootYou can't. Linux systems are completely secure, and it's not a simple matter of overriding the password with some keystrokes. If you want to access information on the harddrive (as long as it's not encrypted), you will have to reboot the system with a different OS (or use a Linux live CD, such as Knoppix) and navigate the directory struction to the files you want. However, you can't RETREIVE a password on a Linux system without some serious code cracking hardware. If you have Root permissions on a computer you can reset any other users password to your choice.


Which command is used for see the all existing users in Linux?

For local (non-network) accounts, look at the /etc/passwd file. It contains all of the local users on that system. You can use many different commands such as less, more, cat, etc., to see the contents.


What Linux distribution is for home use?

Many Linux distributions are intended for home users.


Who writes documentation for Linux?

The users and developers.


What are the commands used in Linux but not in Unix?

There is no answer to this question. Under UNIX and Linux, commands are either shell native or external programs found on the path (which usually includes /bin /sbin /usr/bin and ~/bin) Most UNIX and distros allow the admin to choose a shell program of choice and modify the contents of other directories and many admins allow individual users to change their personal shell and add additional executable files adding more commands. That being the case, theoretically any command can be valid under almost any UNIX or Linux. YMMV.


How does the bot TwitchPlaysPokemon understand the users' commands automatically?

The Bot TwitchPlaysPokemon is able to understand the users' commands automatically because they have been internally stored.


What is PenLUG?

PenLUG is: Peninsula Linux Users' Group.


What is the percentage of people use Linux?

This is the problem, no one really knows. Unlike Windows or OS X, Linux doesn't really have you "register" or phone home to anyone, so no statistic on how many Linux users there are is accurate. I personally estimate Linux users number at least as much as OS X users, though many will not agree with me.


What is a windows password?

A Windows password is a password that a user or a Network Administrator sets for its users for security purposes and to only allowed authorized users to access a resource. In simple networks a "windows password" can refer to the Administrator password.


Is Cloud Computing available for Linux Operating Systems?

Yes, cloud computing exists for Linux users. You can use almost any of the platforms with Linux.