So, this tells us that any users not in the group root cannot start the bash shell, therefore they cannot log in either. Is there a reason that the permissions are set this way? Normal permissions would be -rwxr-xr-x
It would suggest that a blanket chmod has been performed as both /bin/bash and /etc/shells have the same. /etc/shells would normally be rw-r--r--
Has someone done a rather wild change, such as:-
If this is the case, then you have a problem and there could be all sorts of other things wrong. Don't just try to reverse it with another find to set them all to something else. That could make things 'different'. Some things could start working again, but your security could be all over the place.
What do you have for:-
and various other directories?
* * * * * * * * * * * * * * * * * * * *
I would strongly suggest avoiding a boot until we know more.
* * * * * * * * * * * * * * * * * * * *
What I was wondering was if you explore other directories, do you find that all the files there have the same ownership and permissions. This might include where you put data, reference files or code even. It is possible that they have all been adjusted.
The standard directories you could have a look in are things like:-
/boot
/dev
/etc, especially /etc/rc.d or /etc/init.d
/lib
/sbin
/sys
/usr especially /usr/bin, /usr/lib and /usr/sbin
/var, especially /var/log, /var/opt and /var/spool
You could also look in user home directories wherever they are. Some have them in /home, others have them in /usr/home and yet more move them away completely. We have some in /actuarial even!
You also need to consider what your backup position is. We may end up having to get back with them. Not necessarily a restore, but depending what and how you have things, you may be able to get the permissions from there. Failing that, if you have a RH support contract then they may be able to direct you to run something that verifies/resets all the critical system permissions.
I got the scene what had happened there.
I checked for the permission for above said directories. I have attached the file of command output. I fear about backup, Might not possible. Without RHN support is there any funda I can reset whole system permissions, Without reinstalling the system? Please provide your points:
Attached is the file, take a look at it please.
Have a think if that is a good plan. Backups at this point before you start would be a good thing. Make sure you can restore a blank machine with your method. There isn't an easy "make me a boot tape" process like you get with AIX & HP-UX, but I hope you have procedures for what works for you already.
Let us know how you get on. Any other suggestions from other member would be gratefully received!
Hi
We have RHEL 6.7 on an HP physical server and want to install RHEL 7 (not upgrade) on top of it by means of virtualization. Is it possible to install/configure RHEV/KVM virtualization on base RHEL 6.7 OS instance and then install RHEL 7 as a VM guest on it? If yes, could you please guide me... (1 Reply)
I know this question might have been asked a lot but couldn't find anything that worked. From a windows machine 'A' I can only SSH into Linux server 'B' from where I can SSH into another Linux server 'C'. I need to be able to run GUI interfaces on server C which run on my Windows machine. I... (3 Replies)
Hello all, I am having a bit of an issue on my Spacewalk installation. Some amplifying information is that it is Spacewalk 2.3 installed on a RHEL 6 machine and I am attempting to install/update a RHEL 5 channel/repository. I am fairly new to Spacewalk so I am still learning but this is what I... (3 Replies)
Hi all,
Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out.
i have dual os, win 7 & rhel 6.
i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue.
below error... (6 Replies)
:confused:
when i tried to look the status of DNS-client, it is in maintenance mode.....
Please tell me how to bring it back to online mode...PLEASE TELL ME STEP BY STEP.... PLEASE...
:wall: (2 Replies)
Hi,
I heard a command that can collect all RHEL 5 log in a single compress file before I forget.
Does any body know...What the command is ?
Thanks. (4 Replies)
Hi All,
Can please let me know what is the difference between the single line mode and multi line mode in regular expresions?
Thanks,
Chidhambaram B (3 Replies)
Hi,
I'm trying to resize an ext3 FS (filesystem) under an LVM.
I have booted the OS (RHEL 4) in rescue mode using the CD media and I'm able to use lvm commands.
Now, I'm trying to shrink the filesystem before actually shrinking the logical volume but I cannot find ext2onlone or resize2fs... (1 Reply)
Hi All,
I used to have my suse linux(VM) server in graphic mode but not anymore since morning. I cant rolback since i loose somuch work. Any idea how to it back to normal. Thanks (6 Replies)