[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#395432: openssh-client: ssh-agent ignores TMP env variable for placing its temporary files



Package: openssh-client
Version: 1:4.3p2-5
Severity: normal


When not using -a option on ssh-agent it places temporary files in /tmp
it totally ignores TMP env variable

        if (agentsocket == NULL) {
                /* Create private directory for agent socket */
                strlcpy(socket_dir, "/tmp/ssh-XXXXXXXXXX", sizeof
socket_dir);
                if (mkdtemp(socket_dir) == NULL) {
                        perror("mkdtemp: private socket dir");
                        exit(1);
                }

it should be looking at TMP or TMPDIR

Alex


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (250, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-1-amd64
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)

Versions of packages openssh-client depends on:
ii  adduser             3.97                 Add and remove users and groups
ii  debconf [debconf-2. 1.5.6                Debian configuration management sy
ii  dpkg                1.13.22              package maintenance system for Deb
ii  libc6               2.3.6.ds1-4          GNU C Library: Shared libraries
ii  libcomerr2          1.39-1               common error description library
ii  libedit2            2.9.cvs.20050518-2.2 BSD editline and history libraries
ii  libkrb53            1.4.4-3              MIT Kerberos runtime libraries
ii  libncurses5         5.5-3                Shared libraries for terminal hand
ii  libselinux1         1.30.28-2            SELinux shared libraries
ii  libssl0.9.8         0.9.8c-3             SSL shared libraries
ii  passwd              1:4.0.18.1-3         change and administer password and
ii  zlib1g              1:1.2.3-13           compression library - runtime

openssh-client recommends no packages.

-- no debconf information




Reply to: