Fedora Linux Support Community & Resources Center
  #1  
Old 23rd April 2007, 01:24 AM
demodeputy Offline
Registered User
 
Join Date: Apr 2007
Posts: 2
Creating User Accounts - Home directories?

I am new to Linux. I have created a test user account by modifying the /etc/passwd file, and included the correct path to the /homes/username. However, when I try to log in as the new account I get a warning indicating that there is no home directory for the user. Does the home directory have to be manually created? Is there a script that can be invoked to automate this for new accounts like Mac OS X Server's createhomedir command?

Thanks for the help!

-Steve
Reply With Quote
  #2  
Old 23rd April 2007, 01:32 AM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 55
Posts: 12,371
Hello:
Normally, during the initial boot process [first one after the installation] you are asked to create a user and the the user's account as well as the /home/user is created.
If you used system-config-users it will ask you for all the relative information, including whether or not you want to create a /home directory.
No need to play around in any passwd files ?

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #3  
Old 23rd April 2007, 01:56 AM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,306
Or, if you're a command line kind of guy: useradd
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
  #4  
Old 23rd April 2007, 02:04 AM
demodeputy Offline
Registered User
 
Join Date: Apr 2007
Posts: 2
Great. Thank you very much.
Reply With Quote
  #5  
Old 23rd April 2007, 02:16 AM
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 55
Posts: 12,371
Quote:
Originally Posted by brunson
Or, if you're a command line kind of guy: useradd
Hello:
Much better said

Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
Reply

Tags
accounts, creating, directories, home, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


Current GMT-time: 15:46 (Wednesday, 23-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat