LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Login bad mojo (new issue) (https://www.linuxquestions.org/questions/linux-newbie-8/login-bad-mojo-new-issue-23357/)

ifm 06-13-2002 02:37 PM

Login bad mojo (new issue)
 
All of a sudden now, on my old box thats been running fine for a good year... when I login with my same user I always logged in with through SSH, I get the following garbage in addition to the normal "last login":


Last login: Thu Jun 13 08:53:51 2002 from blah.duh.com
bash: id: command not found
bash: id: command not found
bash: id: command not found
[: too many arguments
bash: id: command not found
bash: dircolors: command not found
bash: id: command not found
[: =: unary operator expected


Also now when I type "mail" command to get mail... it doesnt know my username to map to the spool dir, and thus gives an erro???

$ mail
/var/spool/mail/: Is a directory


What happened? Anyone know what happened? I didnt change anything with this user, or futz with its bash profile/history/rc whatnot ... Crikey!

:(

ifm 06-13-2002 03:35 PM

Panic Over
 
Somehow, sometime, yesterday when I was messing around with getting BIND installed, the entire "usr" directory got set to a chgrp of 'named' and permissions of user/group only read/execute. So... no other user could go INTO the /usr directory.

This ... is bad of course =)

After fixing the permissions and chgrp ... all the errors and whatnot funkiness went away.

*baffled* how it happened in the first place though, crazy *baffled*


All times are GMT -5. The time now is 09:48 AM.