On Tue, 31 Mar 2015 00:16:11 -0700
Liyu L <liyul@hotmail.com> wrote:
> I downloaded and installed debian testing (jessie rc2 netinstall)
> today. Then I tried to add user manually (useradd/passwd) or through
> the Preferences/Users and Groups GUI. In both cases the newly created
> user cannot log into the LXDE session.
>
> Investigation showed that user home directory was not automatically
> created with either methods or efforts trying to change user to
I can¨t help you with the graphical method, as I've never used it, but
useradd doesn't create the home directory unless you specifically tell
it to. From the man page:
useradd is a low level utility for adding users. On Debian,
administrators should usually use adduser(8) instead.
<snip>
-m, --create-home
Create the user's home directory if it does not exist. The
files and directories contained in the skeleton directory
(which can be defined with the -k option) will be copied to
the home directory.
By default, if this option is not specified and CREATE_HOME
is not enabled, no home directories are created.
So no bug report should be necessary for useradd, unless you did
specify "-m" and it didn't create the home directory - this is expected
behaviour. adduser, on the other hand, *does* create it by default, and
that may be confusing since the names are so similar.
Regards,
Petter
--
"I'm ionized"
"Are you sure?"
"I'm positive."
Attachment:
pgpctIOG7DY6J.pgp
Description: OpenPGP digital signature