<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>adduser: No error message if homedir cannot be created</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Package: adduser<BR>
Version: 3.85<BR>
Severity: normal<BR>
<BR>
If creating the home directory fails there is no error message<BR>
indicating why.<BR>
<BR>
# adduser --system --debug sshd<BR>
Selecting uid from range 100 to 999.<BR>
Adding system user `sshd' with uid 107...<BR>
Adding new user `sshd' (107) with group `nogroup'.<BR>
/usr/sbin/useradd -d /home/sshd -g nogroup -s /bin/false -u 107 sshd<BR>
/usr/bin/chage -M 99999 sshd<BR>
Creating home directory `/home/sshd'.<BR>
Cleaning up.<BR>
Removing directory `/home/sshd'<BR>
rm -rf /home/sshd<BR>
Removing user `sshd'.<BR>
userdel sshd<BR>
#<BR>
<BR>
In this case /home is controlled by autofs:<BR>
# mkdir /home/sshd<BR>
mkdir: cannot create directory `/home/sshd': No such file or directory<BR>
# ls -ld /home<BR>
drwxr-xr-x 3 root root 0 2006-03-10 12:19 /home<BR>
<BR>
-- System Information:<BR>
Debian Release: testing/unstable<BR>
&nbsp; APT prefers unstable<BR>
&nbsp; APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')<BR>
Architecture: i386 (i686)<BR>
Shell:&nbsp; /bin/sh linked to /bin/dash<BR>
Kernel: Linux 2.6.15-1-686-smp<BR>
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)<BR>
<BR>
Versions of packages adduser depends on:<BR>
ii&nbsp; debconf [debconf-2.0]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.4.71&nbsp;&nbsp;&nbsp;&nbsp; Debian configuration management sy<BR>
ii&nbsp; passwd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1:4.0.14-7 change and administer password and<BR>
ii&nbsp; perl-base&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5.8.8-2&nbsp;&nbsp;&nbsp; The Pathologically Eclectic Rubbis<BR>
<BR>
adduser recommends no packages.<BR>
<BR>
-- debconf information:<BR>
&nbsp; adduser/homedir-permission: true</FONT>
</P>

</BODY>
</HTML>