[Bug 1300728] Re: missing single quots in ssh plugin /src/plugins/ssh/ssh.c

Brian Murray brian at ubuntu.com
Tue Apr 1 14:53:01 UTC 2014


** Tags added: precise

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ldm in Ubuntu.
https://bugs.launchpad.net/bugs/1300728

Title:
  missing single quots in ssh plugin /src/plugins/ssh/ssh.c

Status in “ldm” package in Ubuntu:
  New

Bug description:
  I'm not 100% shure if this is a bug or if there is a reason for this.

  /src/plugins/ssh/ssh.c line 424

  sshinfo->server, "echo " SENTINEL "; exec /bin/sh -", NULL);
   
  this will start /bin/sh on the Client, I guess this is supossed to start on the Server and there for there need to be single quotes around the whole String. 
  I stumbled over this because without /bin/sh started on the Server the unlocking of the 
  gnome-login-keyring over /etc/pam.d/sshd is not working (the gnome-keyring-daemon is not started
  at all)  with an intital running /bin/sh this is functioning.

  root at tc51:~# apt-cache policy ldm
  ldm:
    Installiert: 2:2.2.9-1ubuntu0.1
    Kandidat:    2:2.2.9-1ubuntu0.1
    Versionstabelle:
   *** 2:2.2.9-1ubuntu0.1 0
          500 http://10.12.12.12/ubuntu/ precise-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       2:2.2.9-1 0
          500 http://10.12.12.12/ubuntu/ precise/main amd64 Packages
  root at tc51:~# uname -a
  Linux tc51 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ldm/+bug/1300728/+subscriptions



More information about the foundations-bugs mailing list