LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2008, 12:34 AM   #1
darkapolloslx
LQ Newbie
 
Registered: Feb 2007
Distribution: Mephis, Puppy
Posts: 28

Rep: Reputation: 15
Add user from Command line


Hi, all.

Distribution is OzOs - basically a cut down Ubuntu with E17 as desktop.

When I go to run adduser or useradd the user is created, however the settings for X and e17 don't appear to be copied, all I get is a black box with a command line in it.

Any suggestions?
 
Old 12-29-2008, 01:45 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,036

Rep: Reputation: 96
You need to modify the contents of the /etc/skel directory.

When you create a user with the useradd command (I'm assuming you are using the -m option to create the home folder) it copies the contents of the /etc/skel directory to the new users home directory.

Any files and folders that you want the new users to be created with should be copied to this folder.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
howto add a mouse on the command line? Fred Caro Linux - Newbie 4 12-29-2008 01:50 PM
LXer: How to add metadata to digital pictures from the command line LXer Syndicated Linux News 0 09-19-2008 11:40 PM
How To Add user in Fedora Core 4 using the Command Line Interface regnox Linux - Newbie 9 08-22-2005 01:30 AM
how to add icon with the command line jonsharland Linux - General 1 10-17-2002 04:59 AM
Add lines of code to files from command line robeb Linux - General 2 06-12-2002 04:54 AM


All times are GMT -5. The time now is 04:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration