LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Libranet (https://www.linuxquestions.org/questions/libranet-34/)
-   -   Trouble with new install (https://www.linuxquestions.org/questions/libranet-34/trouble-with-new-install-377815/)

walterbyrd 10-28-2005 01:49 PM

Trouble with new install
 
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.

Any help appreciated, thanks.

samael26 10-29-2005 06:54 AM

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.

hope that helps
cheers

walterbyrd 10-29-2005 02:53 PM

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.

uteck 11-06-2005 01:10 AM

If you use Adminmenu to add the users it will make the directory and add them to the audio and burning group.


All times are GMT -5. The time now is 06:53 PM.