Gentoo Archives: gentoo-hardened

From: Jukka Palko <jpalko@×××××.com>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] Re: coreutils id command missing selinux patching?
Date: Wed, 08 Feb 2006 12:29:05
Message-Id: 43E9E39C.30806@gmail.com
In Reply to: [gentoo-hardened] coreutils id command missing selinux patching? by Jukka Palko
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Jukka Palko wrote:
5 > At least coreutils versions 5.2.1-r7 and 5.3.0-r2 id command doesn't
6 > support the -Z switch for getting this sort of information out:
7 >
8 > # id -Z
9 > root:staff_r:staff_t
10 > # newrole -r sysadm_r
11 > Authenticating root.
12 > Password:
13 > # id -Z
14 > root:sysadm_r:sysadm_t
15 >
16 > Just getting:
17 > # id -Z
18 > id: invalid option -- Z
19 > Try `id --help' for more information.
20
21 Got my answer to this one via bugzilla. Using 'id -c' until coreutils
22 version 5.93 or newer.
23
24 Kinda interesting though how a book that was published in October 2004
25 suggest already -Z flag. The book being the O'Reilly SELinux. Oh well,
26 everything doesn't reach mainstream always so fast. :)
27
28 - --
29 Jukka Palko jpalko@×××××.com
30 -----BEGIN PGP SIGNATURE-----
31 Version: GnuPG v1.4.2 (GNU/Linux)
32 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
33
34 iD8DBQFD6eOcgfJN/zhm0W0RAlyaAJ4sIL5GiMThTs0HSnUPfyCstv0/GwCggkTQ
35 rsEgTFESrBlqXyllynuqfV4=
36 =rAhM
37 -----END PGP SIGNATURE-----
38 --
39 gentoo-hardened@g.o mailing list