Re: shellinabox

Jean-David Beyer <[email protected]>
Newsgroups gmane.linux.redhat.fedora.selinux
Organization Institute for Regimented Whimsey
Message-ID <[email protected]>
On 06/12/2018 04:02 AM, Paul Howarth wrote:
> ls -lZ /usr/bin/bash
> -rwxr-xr-x. 1 root root system_u:object_r:shell_exec_t:s0 1132656 Feb
> 13 14:08 /usr/bin/bash


I do not have a problem, but just for laughs, I tried the above.
Red Hat Enterprise Linux Server release 6.9 (Santiago)
$ uname -r
2.6.32-696.30.1.el6.x86_64

$ ls -lZ /usr/bin/bash
ls: cannot access /usr/bin/bash: No such file or directory
$ whereis bash
bash: /bin/bash /usr/share/man/man1/bash.1.gz
$ ls -lZ /bin/bash
-rwxr-xr-x. root root system_u:object_r:shell_exec_t:s0 /bin/bash
$ ls -l /bin/bash
-rwxr-xr-x. 1 root root 942200 Feb 15  2017 /bin/bash


-- 
  .~.  Jean-David Beyer          Registered Linux User 85642.
  /V\  PGP-Key:166D840A 0C610C8B Registered Machine  1935521.
 /( )\ Shrewsbury, New Jersey    http://linuxcounter.net
 ^^-^^ 06:50:01 up 21 days, 11:33, 2 users, load average: 4.47, 4.71, 4.49
_______________________________________________
selinux mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]/message/K7MYDXB3TVDZULWWNE3KT6YR4O4JSAMI/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.