Results 1 to 6 of 6
Hi guys,
I'm wondering how to add users through the etc/passwd instead of the
usual adduser command? thanks!...
- 02-11-2007 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 3
How to add users?
Hi guys,
I'm wondering how to add users through the etc/passwd instead of the
usual adduser command? thanks!
- 02-12-2007 #2Linux Enthusiast
- Join Date
- Jun 2005
- Location
- The Hot Humid South
- Posts
- 602
Run the following command:
It describes what each field is used for.Code:man -S5 passwd
"Today you are freer than ever to do what you want, provided you can pay for it!" --Bad Religion
- 02-13-2007 #3Just Joined!
- Join Date
- Feb 2007
- Posts
- 3
I don't think you understand what I'm saying. I don't want to use adduser or useradd command. I know there's a way to just edit the etc/passwd and input
example: bdilean:X:500:501::/home/bdilean:/bin/bash
After I input that new entry and save, I go create a directory home/bdilean.
I'm suppose to add some files into into home/bdilean I think but I'm not sure
what I'm suppose to add. Any clues?
- 02-13-2007 #4Nothing really, .bashrc & .bash_profile files can be convenient though.
Originally Posted by bdilean "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 02-13-2007 #5
I suggest that you read
You will need to create a ~/.bashrc and ~/.bash_profile for the new user. These contain commands to run on startup.Code:man 5 passwd
Also, you should use the 'passwd' command to set the user's password. If you don't, you will need to manually encrypt the password and set it in /etc/shadow.
Do you have any specific questions?DISTRO=Arch
Registered Linux User #388732
- 02-13-2007 #6Just Joined!
- Join Date
- Feb 2007
- Posts
- 3
I'll give it a shot, thanks for help folks!


Reply With Quote