LibranetThis forum is for the discussion of Libranet Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As root, I added two new users from the command line with useradd -m. I can not log in at the splash screen with either of those user names. In fact I can not, in any manner, run X with either of those user names. The best I can do ctrl-alt-f1 to a terminal, and login like that. But, I can not do a startx. I can log in just fine as root.
If I'm logged into a terminal as root, I can not do a startx.
Hi,
What I cannot understand is why you put the -m option.
It creates a 'skeleton' directory. If you do a 'man adduser'
you'll see it works in conjunction with the -k option, but
it is advised not to use the -m option.
I just use :
#useradd
to add new users in Debian, so I think it's the same in Libranet.
Create a new user just using useradd, I bet you will find it at
the next boot.
In Libranet, at install, version 3.0, there's the option to create
additional users.
I use the -m option to create a /home/username directory, and to copy the files from /etc/skel files.
From my man useradd:
-m, --create-home
The user's home directory will be created if it does not exist.
The files contained in skeleton_dir will be copied to the home
directory if the -k option is used, otherwise the files con-
tained in /etc/skel will be used instead. Any directories con-
tained in skeleton_dir or /etc/skel will be created in the us-
er's home directory as well. The -k option is only valid in con-
junction with the -m option. The default is to not create the
directory and to not copy any files. This option may not func-
tion correctly if the username has a / in it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.