Today I was working on a server running SLES10 with LDAP authentication enabled. I tried to add a local user account with home directory /dev/null
, but useradd complained that this was an invalid directory. So I manually edited /etc/passwd
and changed the home directory.