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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Sat Jun 27 04:00:01 2026 UTC