i need to try user specific commands like adding new user, changing or creating user password, user lookup information using finger command, and finally start new shell as different user. I wanna see the change that happens when these commands are used. i tried once using user add chrome ok, its like Permission denied

closed as unclear what you're asking by G-Man, Rui F Ribeiro, Archemar, Thomas, Romeo Ninov Jan 13 at 8:55

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 6
    No, actually it’s not a basic question.  It’s not a question at all.  What do you want to know?  Bravo for wanting to learn by doing (experimenting), but what do you want us to tell you? – G-Man Jan 13 at 7:00
  • 3

Start simple, there's no need to remember all the commands, just find what you need the most.

The most common Linux commands can be found here

but to answer your question here's user commands :

  • Create user: sudo adduser username
  • Delete user: sudo deluser username
  • Add user to group: sudo adduser username groupname
  • List user status: sudo chage -l username
  • Change the listed details: sudo chage username

Notice how I used sudo before each command, this means the command is executed as the root user, not using sudo gives the access denied error. If you still get an access denied error with sudo, talk to your SysAdmin as you're not in the sudoers group.

  • +1 for short but very relevant information. – sudodus Jan 13 at 9:25
  • An edit and an upvote. :-) Could you please review my edits and also review the editing help to improve the readability of your answers in the future... ;-) – Fabby Jan 13 at 10:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.