I restarted my Amazon EC2 instance and all of sudden when I log in from SSH via putty I get the error:
-bash: /etc/profile: Permission denied -bash: /etc/bashrc: Permission denied
Previously I was able to log in via SSH but after restart I can not.
I do have access to Super User so I can change permissions.
I tried changing permissions on
/etc/profile like 770 and 771 but couldn’t fix the issue.
Permissions on both files is