Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Redhat / Fedora Linux Help > [SOLVED] How to create user by editing /etc/passwd file?

Forgot Password?
 Redhat / Fedora Linux Help   Help and discussion related to Redhat and Fedora Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 09-23-2008   #11 (permalink)
Extraordinary Gentleman
 
Redman's Avatar
 
Join Date: Oct 2004
Location: The green fields of Brabant, Netherlands
Posts: 605
In other words, next time please explain WHY you want to do it like that.
Otherwise, people who are willing to help might not understand why

As for the question you asked, have a look here: link.
__________________
"Yoda of Borg are we: Futile resistance is. Assimilate you, we will."
Distributions in use: CentOS 5.3
Registered Linux user #327830
100% on Linux since september 7, 2003 - now I am free!
Redman is offline  


Old 09-24-2008   #12 (permalink)
Just Joined!
 
rah_jad's Avatar
 
Join Date: Sep 2008
Posts: 14
Thanx for the link. I am facing another issue.
When I edit the /etc/passwd am also asked to edit /etc/shadow and etc/group files. How to edit these files while creating a user.
rah_jad is offline  
Old 09-24-2008   #13 (permalink)
Linux Guru
 
smolloy's Avatar
 
Join Date: Apr 2005
Location: CA, but from N.Ireland
Posts: 2,407
/etc/shadow is the file that holds the encrypted version of the password, and I've no idea how you'd edit that by hand. To set this, log in as the user, and use the passwd command.

/etc/group is the file that states which users are members of which groups. That one's easy to edit -- just go through it and add your user to the groups you'd like him/her to be a member of.
__________________
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
smolloy is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:50 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2