From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051118 Fedora/1.5-0.5.0.rc3 Firefox/1.5 Description of problem: /bin/su doesn't work from gnome-terminal (or xterm, for that matter). Works okay from a virtual console. No messages are reported, but strace reveals: [snip] read(3, "#%PAM-1.0\nauth required "..., 4096) = 154 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7f7d000, 4096) = 0 getuid32() = 500 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfb7bb98) = -1 ENOTTY (Inappropriate ioctl for device) write(2, "standard in must be a tty\n", 26) = 26 close(1) = 0 munmap(0xab1000, 9680) = 0 exit_group(1) = ? Process 16114 detached The 'standard in must be a tty' being the line that gives it away. Version-Release number of selected component (if applicable): coreutils-5.93-2 How reproducible: Always Steps to Reproduce: 1. Run gnome-terminal/xterm/possibly other terminals 2. Run /bin/su - 3. Wail in despair at the fact that you cannot become root Actual Results: Had to wipe the tears a little, but otherwise, nothing. Expected Results: Should have prompted for password. Additional info:
Works for me. What does 'tty' say in the same context?
*** This bug has been marked as a duplicate of 173939 ***