Bug 9376 - permission of kterm is wrong
permission of kterm is wrong
Product: Red Hat Linux
Classification: Retired
Component: kterm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2000-02-12 05:44 EST by Hiroshi Hisamatsu
Modified: 2014-03-16 22:12 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-02-12 14:53:30 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Hiroshi Hisamatsu 2000-02-12 05:44:03 EST
kterm-6.2.0-10.i386.rpm in RedHat-6.1J

  Kterm doesn't need a setuid root permission, but a permisson of the
command is "-rws--x--x". It should be the same as xterm's one.

$ cat /etc/redhat-release
Red Hat Linux release 6.1J (Cartman)
$ ls -l /usr/bin/X11/xterm
-rwxr-xr-x   2 root     root       164328 Sep 25 07:21 /usr/bin/X11/xterm
$ ls -l /usr/bin/X11/kterm
-rws--x--x   1 root     root       140660 Oct  7 13:10 /usr/bin/X11/kterm

  Both of xterm and kterm invoke /usr/sbin/utempter that can
access /var/run/utmp. But only xterm doesn't have the root permission.

  I'm sure that kterm can access utmp without the root permission.
Comment 1 Bill Nottingham 2000-02-12 14:53:59 EST
Fixed in rawhide.

Note You need to log in before you can comment on or make changes to this bug.