This question already has an answer here:
- Wrongly set chmod / 777. Problems? 4 answers
I created a linux user using a script .Also i want the newly created user to access only certain folders in the (/ )root directory.For that i changed the permission of root directory to 0750. chmod -R 0750 /*
After that when i tried to login to the newly created user with login command i am getting cannot chdir to home directory '/home/newuser' cannot execute '/bin/bash ' :permission denied .
i changed the permission of /bin/ folder to 0777 ,also set /home/newuser / permission to 0777 .still i am unable to login .
Is it possible to login with the new root permission .