[lfs-dev] login issues

Tim Tassonis stuff at decentral.ch
Thu Feb 4 11:03:15 PST 2016


On 02/04/16 18:39, Roger Koehler wrote:
> Here's another issue that is new for me with this build:
>
> After creating a new user using useradd -m and creating a password for
> the new user, when I try to login, I get this message:
>
> Unable to cd to '/home/<new user>'
>
> Yet a cd /home/<new user> works fine. I've tried with and without
> mounting a volume on /home, at the system login prompt and using su.
> Same message.
>
> Have any of you seen this before? Any ideas? This effectively makes my
> new LFS 7.8 unusable.


No problem here:

root:/# useradd -m -s /bin/bash -c "Linux From Scratch" lfs
root:/# passwd lfs
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root:/# su - lfs
-su-4.3$ pwd
/home/lfs


What comes to my mind: What are the permissions and owner of your 
/home/<new user> ?



>
> Thanks!
> Roger
>
>
>


-- 
decentral.ch - IT Stuff
Tim Tassonis
Dennlerstasse 36
8047 Z├╝rich

stuff at decentral.ch
+41 79 229 36 17


More information about the lfs-dev mailing list