php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27351 su-after-popen example does not work
Submitted: 2004-02-22 11:10 UTC Modified: 2004-04-15 12:09 UTC
From: egal at staerk dot de Assigned:
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: RedHat Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: egal at staerk dot de
New email:
PHP Version: OS:

 

 [2004-02-22 11:10 UTC] egal at staerk dot de
Description:
------------
my comment on php.net (under egal at staerk dot de) is not 
reproducible under RedHat Linux, as RedHat's su is 
programmed not to accept passwords from a pipe. 
 
You can find out if the example will work with the command 
echo -e "password\n"|su 
where password is root's password 
If it rejects the password, the example will not work. 
 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-15 12:09 UTC] nlopess@php.net
I've deleted your note.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 18 00:00:02 2026 UTC