Hi Guys,
I have just installed KNOPPIX Linux on a Virtual Machine. This Linux Distro is great in the sense that I didn't find any difficulty in running its Live CD and then installing it.
Well, so here I am. I created a couple of user accounts but no directory was created for them under /home directory. Here's an example:
Code:
root@Microknoppix:~# useradd x
root@Microknoppix:~# passwd x
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@Microknoppix:~# ls /home
knoppix
root@Microknoppix:~# su - x
No directory, logging in with HOME=/
x@Microknoppix:/$ ls
KNOPPIX bin debian etc lib mnt proc sbin srv tmp var
Sept boot dev home media opt root selinux sys usr vmlinuz
x@Microknoppix:/$
As it can be seen from the above output that no home directory was created for the user. Yet, the user can create files and can do any work.
So, I looked at the file: /etc/default/useradd and uncommented the following line:
Code:
# The default home directory. Same as DHOME for adduser
HOME=/home
Of course, /home is already in existance!
So, what could it be wchich is causing the problem? Where can the user's home directry be going then?

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$18.90
Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New
$101.99
Cisco Catalyst WS-C2960+24TC-S 24-Port Gigabit Managed SFP Switch
$39.99
New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US
$15.30
Cisco Catalyst 2960-24TT-L 24-Port Fast Ethernet Managed Switch
$39.99
Cisco Catalyst 8500 C8500L-8S4X 4x SFP+ 8x SFP 4x10GE 8x1GE Router-Fast Ship
$6299.99
Cisco SFP-10G-LR 10GBASE-LR 1310nm 10km LC SFP+ Transceiver - 10-2457-02
$15.95
Cisco Catalyst 3850-48F-L 48-Port UPoE Gigabit Switch NM-4-1G
$59.99
Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99
Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99