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/[EMAIL PROTECTED] 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/[EMAIL PROTECTED] sarge]:~$ ls -al /home/test/
> .bash_profile  .bashrc        foo'bar
> [5/[EMAIL PROTECTED] 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/[EMAIL PROTECTED] 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

Reply via email to