Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • The ownership of the TTY should change. That's what ConsoleKit (a.k.a. pam_ck_connector.so is for). Commented May 13, 2012 at 20:12
  • Actually, I could be wrong. Will have to dig more. Commented May 14, 2012 at 4:11
  • On my systems, /proc/self/fd/1 is having its permissions updated, but that's pointless, since it's a symlink. Happens on Fedora too, which seems to rule out ConsoleKit. Commented May 14, 2012 at 4:13
  • What about using /dev/tty instead of /dev/stdout? Commented Mar 11, 2020 at 9:22
  • @FilipStefanov /dev/tty and /dev/stdout are not the same thing, particularly if standard output has been redirected, either by the current process or by something that invoked it. If /dev/tty suits your purposes, by all means use it. Commented Mar 11, 2020 at 18:39