One selinux fault and one selinux fault

Source: Internet
Author: User

One selinux fault and one selinux fault

Case of selinux failure
This was the first time we encountered such an error. We had no clue about the troubleshooting process.Child setpgidIn this case, we can see some cases when setting selinux in the google process, so we want to start from this aspect.

The reason is that selinux is enabled, but it is strange that after redirecting from other terminal ssh, no operation can be performed, including configuring selinux, after logging on to the Remote Management port in the background, set and restart the system to completely solve the problem.

-bash-4.3# ls-bash: child setpgid (16790 to 16790): Permission deniedls: cannot access RHEL6.2-20111117.0-Server-ppc64-DVD1.iso: Permission deniedls: cannot access rhel-server-6.2-x86_64-dvd.iso: Permission deniedls: cannot access install.log.syslog: Permission deniedls: cannot access anaconda-ks.cfg: Permission deniedls: cannot access install.log: Permission deniedanaconda-ks.cfg  Documents  install.log         Music     Public                                    rhel-server-6.2-x86_64-dvd.iso  VideosDesktop          Downloads  install.log.syslog  Pictures  RHEL6.2-20111117.0-Server-ppc64-DVD1.iso  Templates-bash-4.3# su - streamsadmin-bash: child setpgid (16792 to 16792): Permission denied-bash: su: command not found-bash-4.3# top-bash: child setpgid (16793 to 16793): Permission denied        top: failed tty set: Input/output error-bash-4.3# free -m-bash: child setpgid (16794 to 16794): Permission denied             total       used       free     shared    buffers     cachedMem:        129045      18018     111026          0        227      15605-/+ buffers/cache:       2186     126859Swap:        10239          0      10239-bash-4.3# cat .bash_profile-bash: child setpgid (16796 to 16796): Permission deniedcat: .bash_profile: Permission denied-bash-4.3# ls -l-bash: child setpgid (16803 to 16803): Permission deniedls: cannot access RHEL6.2-20111117.0-Server-ppc64-DVD1.iso: Permission deniedls: cannot access rhel-server-6.2-x86_64-dvd.iso: Permission deniedls: cannot access install.log.syslog: Permission deniedls: cannot access anaconda-ks.cfg: Permission deniedls: cannot access install.log: Permission deniedtotal 32-?????????? ? ?    ?       ?            ? anaconda-ks.cfgdrwxr-xr-x. 2 root root 4096 Dec 18 22:43 Desktopdrwxr-xr-x. 2 root root 4096 Dec 18 22:43 Documentsdrwxr-xr-x. 2 root root 4096 Dec 18 22:43 Downloads-?????????? ? ?    ?       ?            ? install.log-?????????? ? ?    ?       ?            ? install.log.syslogdrwxr-xr-x. 2 root root 4096 Dec 18 22:43 Musicdrwxr-xr-x. 2 root root 4096 Dec 18 22:43 Picturesdrwxr-xr-x. 2 root root 4096 Dec 18 22:43 Public-?????????? ? ?    ?       ?            ? RHEL6.2-20111117.0-Server-ppc64-DVD1.iso-?????????? ? ?    ?       ?            ? rhel-server-6.2-x86_64-dvd.isodrwxr-xr-x. 2 root root 4096 Dec 18 22:43 Templatesdrwxr-xr-x. 2 root root 4096 Dec 18 22:43 Videos-bash-4.3# 

-EOF-

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.