Sanjay Kumar wrote:
[r...@omvm6 ~]# su poo -c cat /dev/tty
cat: /dev/tty: No such device or address
...
strace is showing below:
open(/dev/tty, O_RDONLY) = -1 ENXIO (No such device or address)
The su command appears to be working properly. The problem shown
above is that your
Bob Proulx b...@proulx.com writes:
Sanjay Kumar wrote:
[r...@omvm6 ~]# su poo -c cat /dev/tty
cat: /dev/tty: No such device or address
...
strace is showing below:
open(/dev/tty, O_RDONLY) = -1 ENXIO (No such device or
address)
The su command appears to be working properly.
Hello,
Sanjay Kumar wrote:
[r...@omvm6 ~]# su poo -c cat /dev/tty
cat: /dev/tty: No such device or address
open(/dev/tty, O_RDONLY) = -1 ENXIO (No such device or
address)
1) su command is not failing
2) cat is working as expected
su -c creates new process in RHEL-5 - which is
To: Sanjay Kumar
Cc: bug-coreutils@gnu.org
Subject: Re: su command failing on RHEL5
Sanjay Kumar wrote:
[r...@omvm6 ~]# su poo -c cat /dev/tty
cat: /dev/tty: No such device or address
...
strace is showing below:
open(/dev/tty, O_RDONLY) = -1 ENXIO (No such device or
address