-   Slackware (
-   -   Question about adduser. (

GreenFireFly 05-30-2016 12:15 PM

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?

Emerson 05-30-2016 12:21 PM

Adduser does not create anything, it copies over what's in /etc/skel.

ponce 05-30-2016 12:23 PM

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.

GreenFireFly 05-30-2016 05:31 PM

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?

Emerson 05-30-2016 06:38 PM

No such reason.

wpeckham 05-30-2016 06:50 PM

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.

GreenFireFly 05-31-2016 10:23 AM

Hello Everyone,

Thanks for the info guys.

All times are GMT -5. The time now is 09:51 PM.