nerdexam
Red_Hat

RH302 · Question #58

Add a user named user4 and make primarily belongs to training group. As well account should expire on 30 days from today.

1. useradd username 2. passwd username 3. usermod -e "date" example: usermod -e "12 Feb 2006" user4 Verify: chage -l user4

System configuration

Question

Add a user named user4 and make primarily belongs to training group. As well account should expire on 30 days from today.

Explanation

  1. useradd username
  2. passwd username
  3. usermod -e "date" example: usermod -e "12 Feb 2006" user4 Verify: chage -l user4

Topics

#user account expiry#chage#primary group#useradd

Community Discussion

No community discussion yet for this question.

Full RH302 Practice