LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-30-2016, 11:15 AM   #1
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 218

Rep: Reputation: Disabled
Question Question about adduser.


Hello Everyone,

When i use adduser the .xinitrc file is not created and slim display manager will not login in. Is this normal for adduser not to create the xinitrc?
 
Old 05-30-2016, 11:21 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Adduser does not create anything, it copies over what's in /etc/skel.
 
Old 05-30-2016, 11:23 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
yes, for new users the default /etc/X11/xinit/xinitrc is used.

if you want a specific ~/.xinitrc for your new user just login (or "su - youruser") and run xwmconfig to create one.
 
Old 05-30-2016, 04:31 PM   #4
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 218

Original Poster
Rep: Reputation: Disabled
Hello Everyone,

Ok Thanks. Is there any reason why i could not just copy an .xinitrc into /etc/skel so that
it copies that one everytime a user is created?
 
Old 05-30-2016, 05:38 PM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
No such reason.
 
Old 05-30-2016, 05:50 PM   #6
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
In fact, in some environments I have custom skel folders for specific classes of user accounts so that each is created to be specific to that class and require little or no additional setup. Check your man page and see if yours supports the -k or --skel option.
 
Old 05-31-2016, 09:23 AM   #7
GreenFireFly
Member
 
Registered: Jul 2013
Posts: 218

Original Poster
Rep: Reputation: Disabled
Hello Everyone,

Thanks for the info guys.
 
  


Reply



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
[SOLVED] Question about adduser spiky0011 Linux From Scratch 2 10-15-2011 01:40 PM
adduser basic (home_dir) question sourdough Linux - Newbie 10 09-21-2011 02:25 AM
adduser question adnanm *BSD 1 03-14-2007 06:08 PM
Another basic adduser question AndeAnderson Debian 5 10-26-2005 07:44 AM
adduser help qages Linux - General 7 01-27-2003 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:02 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
Open Source Consulting | Domain Registration