While doing switch user on a server the following error was seen:
$ sudo su - pin
Password:
/etc/profile[30]: /bin/cat: not found
/etc/profile[33]: /bin/mail: not found
In the above situation /bin directory was deleted from the server.
The /bin was copied from another server with the same OS & patch version which fixed the error.
$ sudo su - pin
Password:
/etc/profile[30]: /bin/cat: not found
/etc/profile[33]: /bin/mail: not found
In the above situation /bin directory was deleted from the server.
The /bin was copied from another server with the same OS & patch version which fixed the error.
No comments:
Post a Comment