Package: adduser Version: 3.63 Severity: normal I copied my gnome conf to /etc/skel. (is this stupid of me?) /etc/skel/.gnome had filenames with '' in their names. adduser (sarge) then failed to work, complaining: Unmatched ''. (When I removed those files, this problem went away.) (The adduser in woody used to work fine with the same files, iirc.). PS: Is this a security issue? -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.8-2-k7 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages adduser depends on: ii debconf 1.4.30.13 Debian configuration management sy ii passwd 1:4.0.3-31sarge5 change and administer password and ii perl-base 5.8.4-8 The Pathologically Eclectic Rubbis -- debconf information: * adduser/homedir-permission: true
Marc Haber
2005-Oct-08 14:48 UTC
[Adduser-devel] Bug#330192: '' in /etc/skel filenames causes "Unmatched ''"
tags #330192 unreproducible thanks On Mon, Sep 26, 2005 at 01:19:07PM -0400, D. Goel wrote:> I copied my gnome conf to /etc/skel. (is this stupid of me?) > > /etc/skel/.gnome had filenames with '' in their names. > > adduser (sarge) then failed to work, complaining: Unmatched ''. > > (When I removed those files, this problem went away.) > (The adduser in woody used to work fine with the same files, iirc.).I cannot reproduce this: $ ls -al /etc/skel/ total 20K drwxr-xr-x 2 root root 4.0K Oct 8 14:20 ./ drwxr-xr-x 35 root root 4.0K Oct 8 14:20 ../ -rw-r--r-- 1 root root 567 Dec 19 2004 .bash_profile -rw-r--r-- 1 root root 1.8K Dec 19 2004 .bashrc -rw-r--r-- 1 root root 7 Oct 8 14:20 foo''bar [4/5]mh@lefler[chroot sarge]:~$ sudo adduser test Adding user test''... Adding new group test'' (1002). Adding new user test'' (1002) with group test''. Creating home directory /home/test''. Copying files from /etc/skel'' Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for test Enter the new value, or press ENTER for the default Full Name []: bla Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [y/N] y [5/6]mh@lefler[chroot sarge]:~$ ls -al /home/test/ .bash_profile .bashrc foo''bar [5/6]mh@lefler[chroot sarge]:~$ ls -al /home/test/ total 20K drwxr-xr-x 2 test test 4.0K Oct 8 14:20 ./ drwxr-xr-x 4 root root 4.0K Oct 8 14:20 ../ -rw-r--r-- 1 test test 567 Oct 8 14:20 .bash_profile -rw-r--r-- 1 test test 1.8K Oct 8 14:20 .bashrc -rw-r--r-- 1 test test 7 Oct 8 14:20 foo''bar [6/7]mh@lefler[chroot sarge]:~$ Please give advice how to reproduce that bug. Gr??e Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Debian Bug Tracking System
2005-Oct-08 14:48 UTC
[Adduser-devel] Processed: Re: Bug#330192: '' in /etc/skel filenames causes "Unmatched ''"
Processing commands for control@bugs.debian.org:> tags #330192 unreproducibleBug#330192: '' in /etc/skel filenames causes "Unmatched ''" There were no tags set. Tags added: unreproducible> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
D Goel
2005-Oct-16 17:18 UTC
[Adduser-devel] Bug#330192: '' in /etc/skel filenames causes "Unmatched ''"
Hi Here''s a reproducible way to produce a similar bug: host:/etc/skel/.gnome# cd /etc/skel/.gnome; touch "''>ente" Now, make sure /home/tmpfoo does not exist, and try: # adduser tmpfoo I see: Use of uninitialized value in symlink at /usr/sbin/adduser line 695, <FIND> line 873. symlink: No such file or directory But when the touched file does not exist, I do not see this problem. This is sarge.> tags #330192 unreproducible > thanks > > On Mon, Sep 26, 2005 at 01:19:07PM -0400, D. Goel wrote: >> I copied my gnome conf to /etc/skel. (is this stupid of me?) >> >> /etc/skel/.gnome had filenames with '' in their names. >> >> adduser (sarge) then failed to work, complaining: Unmatched ''. >> >> (When I removed those files, this problem went away.) >> (The adduser in woody used to work fine with the same files, iirc.). > > I cannot reproduce this: > > $ ls -al /etc/skel/ > total 20K > drwxr-xr-x 2 root root 4.0K Oct 8 14:20 ./ > drwxr-xr-x 35 root root 4.0K Oct 8 14:20 ../ > -rw-r--r-- 1 root root 567 Dec 19 2004 .bash_profile > -rw-r--r-- 1 root root 1.8K Dec 19 2004 .bashrc > -rw-r--r-- 1 root root 7 Oct 8 14:20 foo''bar > [4/5]mh@lefler[chroot sarge]:~$ sudo adduser test > Adding user test''... > Adding new group test'' (1002). > Adding new user test'' (1002) with group test''. > Creating home directory /home/test''. > Copying files from /etc/skel'' > Enter new UNIX password: > Retype new UNIX password: > passwd: password updated successfully > Changing the user information for test > Enter the new value, or press ENTER for the default > Full Name []: bla > Room Number []: > Work Phone []: > Home Phone []: > Other []: > Is the information correct? [y/N] y > [5/6]mh@lefler[chroot sarge]:~$ ls -al /home/test/ > .bash_profile .bashrc foo''bar > [5/6]mh@lefler[chroot sarge]:~$ ls -al /home/test/ > total 20K > drwxr-xr-x 2 test test 4.0K Oct 8 14:20 ./ > drwxr-xr-x 4 root root 4.0K Oct 8 14:20 ../ > -rw-r--r-- 1 test test 567 Oct 8 14:20 .bash_profile > -rw-r--r-- 1 test test 1.8K Oct 8 14:20 .bashrc > -rw-r--r-- 1 test test 7 Oct 8 14:20 foo''bar > [6/7]mh@lefler[chroot sarge]:~$ > > Please give advice how to reproduce that bug. > > Gr??e > Marc > > -- > ----------------------------------------------------------------------------- > Marc Haber | "I don''t trust Computers. They | Mailadresse im Header > Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 > Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Joerg Hoh
2005-Oct-16 17:48 UTC
Bug#330192: [Adduser-devel] Bug#330192: '' in /etc/skel filenames causes "Unmatched ''"
On Sun, Oct 16, 2005 at 01:09:23PM -0400, D Goel wrote:> Hi > > Here''s a reproducible way to produce a similar bug: > > host:/etc/skel/.gnome# cd /etc/skel/.gnome; touch "''>ente" > > Now, make sure /home/tmpfoo does not exist, and try: > > # adduser tmpfoo > > I see: > > Use of uninitialized value in symlink at /usr/sbin/adduser line 695, <FIND> line 873. > symlink: No such file or directoryI''m just working on the latest subversion version of adduser and I cannot reproduce that behaviour. But I''ll add this testcase to the testsuite (testsuite/suite_test8.sh) J?rg -- Was denen einen ihr Watergate, ist den anderen ihr Firstgate. - Thomas Bliessner, <slrnd1hklm.g53.nospam@melix.com.mx> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20051016/51413c30/attachment.pgp
Debian Bug Tracking System
2006-Apr-26 10:42 UTC
[Adduser-devel] Bug#330192: marked as done ('' in /etc/skel filenames causes "Unmatched ''")
Your message dated Wed, 26 Apr 2006 12:23:35 +0200 with message-id <20060426102335.GA19649@nechayev.zugschlus.de> and subject line Re: Bug#330192: '' in /etc/skel filenames causes "Unmatched ''" has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------- next part -------------- An embedded message was scrubbed... From: "D. Goel" <deego@gnufans.org> Subject: '' in /etc/skel filenames causes "Unmatched ''" Date: Mon, 26 Sep 2005 13:19:07 -0400 Size: 2280 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060426/01fd9bd5/attachment-0002.mht -------------- next part -------------- An embedded message was scrubbed... From: Marc Haber <mh+debian-packages@zugschlus.de> Subject: Re: Re: Bug#330192: '' in /etc/skel filenames causes "Unmatched ''" Date: Wed, 26 Apr 2006 12:23:35 +0200 Size: 4096 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060426/01fd9bd5/attachment-0003.mht