[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
su command failing on RHEL5
From: |
Sanjay Kumar |
Subject: |
su command failing on RHEL5 |
Date: |
Fri, 12 Jun 2009 15:39:17 +0530 |
Hi,
su command is failing with below error on RHEL5. We are using
coreutils-5.97-14.el5
address@hidden ~]# su --version
su (GNU coreutils) 5.97
address@hidden ~]# su poo -c "cat /dev/tty"
cat: /dev/tty: No such device or address
strace is showing below:
.
.
fstat(3, {st_mode=S_IFREG|0644, st_size=56426016, ...}) = 0
mmap(NULL, 56426016, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b37c6dff000
close(3) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
open("/dev/tty", O_RDONLY) = -1 ENXIO (No such device or
address)
write(2, "cat: ", 5cat: ) = 5
write(2, "/dev/tty", 8/dev/tty) = 8
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
.
.
.
The above command is working on RHEL4 with coreutils-5.2.1-31.7
Please let us know the fix available or not.
Thanks & Regards,
Sanjay Kumar
Sr. Software Engg
Symantec Corporation
www.symantec.com <http://www.symantec.com/>
Office: (020) 4075 4020
Mobile: 919881061153
address@hidden
- su command failing on RHEL5,
Sanjay Kumar <=