Public bug reported:

Binary package hint: bash

Consider following example:

su sudo_user -c "ls" << __eof
sudo_user_password
__eof

I expect ls command to be executed as sudo_user without su asking for
password. Instead I get "su: musisz uruchamiać z terminala" error, that
is I have to run su from terminal.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: bash 4.1-2ubuntu4
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic i686
Architecture: i386
Date: Fri Apr  1 14:56:50 2011
ProcEnviron:
 LANGUAGE=pl_PL:pl:en_GB:en
 PATH=(custom, user)
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
SourcePackage: bash

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: Invalid


** Tags: apport-bug i386 maverick

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

Title:
  heredoc doesn't work for su

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to