Hey, we started the Linuxdoc.org blog. You want to write a guest post about your favorite Linux related topic? Just send us a mail.The Linux community would appreciate it.

How can i add and remove users to linux using the shell? Is there an easy way to achieve that?

asked 19 May '11, 15:50

wimvds's gravatar image

wimvds
1222
accept rate: 0%


Many mistakes could be avoided if you just go forward to wow gold kaufen the persona and explain what you really need. People are always wow gold calling the cops, calling the teacher before even talking with the other person. You should think about this.

link

answered 09 Feb '12, 13:44

Pelugino's gravatar image

Pelugino
1
accept rate: 0%

Do not fear the man command, or his wow gold sister info. They are usually the best "Oh Wise Holy Gurus" you'll ever meet. Beyond that learn to use search engines, no particular one mind here, merely search engines in general. Five wow gold kaufen to twenty years later when some kid of 11-13 years old comes asking questions, remember, you were there once too and help them out a bit. Pay it forward, always and ever more.

link

answered 12 Jan '12, 03:12

Justin222's gravatar image

Justin222
1
accept rate: 0%

you can use useradd or userdel e.g

useradd test -s /bin/bash ---- to create user

userdel test ---- to delete user

more usage you can use man useradd or man usedel ,it can give you an instruction in detail!

link

answered 12 Dec '11, 03:21

booduklee's gravatar image

booduklee
1
accept rate: 0%

Hi,

You can use the following commands. Thanks.

useradd to add the user

userdel to delete the user login entry from the password file.

userdel -r to delete everything about the user includes (user's account and user's home directory ).

usermod To manage users

link

answered 06 Aug '11, 13:54

Stephen's gravatar image

Stephen
3113
accept rate: 0%

edited 06 Aug '11, 14:05

Hi,

You should use the adduser, userdel, and usermod to manage users.

link

answered 20 May '11, 03:02

sebastien's gravatar image

sebastien
16137
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×16
×8
×1
×1

Asked: 19 May '11, 15:50

Seen: 29,468 times

Last updated: 09 Feb '12, 13:44

we use OSQA