Public bug reported:

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@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@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

** Affects: ldm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ldm sshplugin

** Patch added: "ssh_plugin.patch"
   
https://bugs.launchpad.net/bugs/1300728/+attachment/4057980/+files/ssh_plugin.patch

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to