[#15030] Login (su) authentication does not work
Summary Login (su) authentication does not work
Queue Horde Framework Packages
Type Bug
State Unconfirmed
Priority 1. Low
Owners
Requester nordmark@mech.kth.se
Created 2020-08-08 (355 days ago)
Due
Updated 2020-08-08 (355 days ago)
Assigned
Resolved
Milestone
Patch Yes

Comments
nordmark@mech.kth.se 2020-08-08 09:40:29
Version: Horde_Auth 2.2.2

After configuring this auth backend, logins do not work, and the logs 
show the error message "sh: 1: -c: not found".

After changing line 74 in Login.php from

$this->_location

to

$this->_params['location']

the backend seems to work.

I guess this backend is seldom used.

nordmark@mech.kth.se 2020-08-08 10:28:51

> After changing line 74 in Login.php from
>
> $this->_location
>
> to
>
> $this->_params['location']
>
> the backend seems to work.

On the other hand, running popen() on untrusted input does not seem 
like a great idea. It may be better to just leave this backend broken.