Question

The usermod command is used to change a Linux user account settings. There are a few...

The usermod command is used to change a Linux user account settings. There are a few of parmeters (ex. "-l" to change the user name) require considerations before using with the usermod command. Discuss a specific parameter you would used with the usermod and what you need to consider either before or after applying your usermod. Also, provide an example of your usermod command including the parameter.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

root@e2e-1 root@e2e-14-91.~# chage -1 sharvan Last password change Password expires Password inactive : Sep 09, 201 : never :

chage -l -> command gives account details.

usermod -e -> command set expiry

Considerations before usermod -e -> It set account expiry and if the user is application user, application may go down.

Add a comment
Know the answer?
Add Answer to:
The usermod command is used to change a Linux user account settings. There are a few...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1.Which of the following Linux scripting commands would be used to access the single command-line parameter...

    1.Which of the following Linux scripting commands would be used to access the single command-line parameter that a user has typed on the command-line? Group of answer choices A) $0 B) $# C) $$ D) $* E) $1 2. If I type the command “update my local Internet settings” (without the quotes) at the Linux command-line, from within the running script which of the following variables would the word “Internet” be stored in, if the script gets run correctly? Group...

  • Problem 1 Write a BASH script to create a user account from the Linux system on...

    Problem 1 Write a BASH script to create a user account from the Linux system on which your script is run. The script should process two positional parameters. First positional parameter is supposed to be a string with a user name (e.g., user_name) Second positional parameter is supposed to be a string with a user password (e.g., user_password) In your script: Check if two positional parameters were passed to your script when it was invoked If NOT, print an appropriate...

  • These questions involve the linux operating system. Please complete the questions that you can. Thanks Question...

    These questions involve the linux operating system. Please complete the questions that you can. Thanks Question 21 (2 points) In the lab, you used the parameter in conjunction with the su command (for example, su -johndoc). It is used to provide an enviranment similar to what the user would expect had the user logged in directly Access the Linux man pages for the su command and provide the definition for the-parameter Question 22 (1 point) Provide the command used to...

  • Linux C language User entered integers as command line arguments forexample ./compare 27 13 15 Find...

    Linux C language User entered integers as command line arguments forexample ./compare 27 13 15 Find the smallest and largest numbers, which you can do either by allocating an array and converting the strings to numbers or by converting them as you do the comparison. Then output the result. For example: The smallest integer was: 13 The largest integer was: 27

  • On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and...

    On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!. At the command prompt, type cat /etc/shadow and press Enter. Record the encrypted password for bozo’s user account. At the command prompt, type passwd –l bozo and press Enter to lock bozo’s user account. At the command prompt, type cat /etc/shadow and press Enter. What has been changed...

  • Using Kali Linux, the Windows Linux Sub-System, or another Debian based Linux distribution, perform the following...

    Using Kali Linux, the Windows Linux Sub-System, or another Debian based Linux distribution, perform the following tasks based on the Linux Fundamentals lecture. For this lab, take screenshots for all major steps completed to illustrate that each task was successfully completed the same method as would be used for other labs). Tasks: 1. Create a new user named Billy Bob using the command linter face 2. Add Billy Bob to the sudoers group 3. Update and upgrade your Linux distribution...

  • How do I do the following on a Unix Command Line Prompt: Change you command-line prompt...

    How do I do the following on a Unix Command Line Prompt: Change you command-line prompt to some interesting phrase/word of your choice Change the command-line prompt to display your user name and your current working directory (this includes your interesting phrase/word) Create a short alias for “ls -l -a”, it is up to you, but maybe “lsa” Execute the “who” command together with the “grep” command to identify whether your peer group (or any 3 or more people) are...

  • On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and...

    On your Fedora Linux virtual machine, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!. At the command prompt, type ps –ef | grep bash and press Enter to view the bash shells that are running in memory on your computer. Record the PID of the bash shell running in your terminal (tty2): . At the command prompt, type kill –l and press...

  • THE C-SHELL: Find three reasons online for why some computer users prefer to use the Linux opera...

    THE C-SHELL: Find three reasons online for why some computer users prefer to use the Linux operating system instead of Windows. List the reasons you find and for each one write if you think this is a good reason, and why or why not. Afterwards, explain why you personally would or would not consider switching your personal computer platform to Linux from your current one. (If you already use Linux, explain why you made this choice.) Investigate some of the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT