Package: coreutils
Version: 6.10-6
Severity: minor
File: /usr/bin/id

It is not always so funny to see someday that user nobody have administrator's
security context under SELinux:

 # id nobody
uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup) 
context=admin_u:sysadm_r:sysadm_t:s0-s0:c0.c1023

I suggest that behavior be documented in both manpage and info.
Or 'context=' changed to 'current_process_context=' when id invoked with 
argument,
or displaying of current context is disabled in that case (since it have no 
sense).

By the way, when invoked with -Z, id refuses to show context if username is 
supplied.

 # id -Z nobody
id: cannot print security context when user specified

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-spg (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash

Versions of packages coreutils depends on:
ii  libacl1                       2.2.47-2   Access control list shared library
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libselinux1                   2.0.65-5   SELinux shared libraries

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to