SHSaeed

Well-Known Member
May 9, 2002
243
0
316
Hello,

Today I was looking through /etc/hosts and noticed 2 accounts where SSH was not disabled for. We do not allow SSH on the servers and none of our resellers have permission to create accounts with SSH. Yet, two accounts had the SSH path set to /bin/bash instead of /usr/local/cpanel/bin/noshell

Possible bug?

Another thing is since a week now, every other email that is sent to use when a new account is created does not get there. This is the error message we get:

[email protected]
(ultimately generated from [email protected])
unknown local-part &info& in domain &domain.com&


Any ideas?
 

ehsan

Well-Known Member
Dec 11, 2001
185
0
316
SSH access

Yeah, thats a bug(SSH ACCESS)
remember few weeks ago we had the same issue ...
 

mikerayner

Well-Known Member
Apr 10, 2002
188
0
316
[quote:8ba5d23c24][i:8ba5d23c24]Originally posted by kwimberl[/i:8ba5d23c24]

I'm just curious how you noticed that from /etc/hosts

:p [/quote:8ba5d23c24]
it seems that was a typo read that /etc/passwd :p
 

SHSaeed

Well-Known Member
May 9, 2002
243
0
316
Yes, I meant /etc/passwd..

Anyways, usually an account without SSH looks like this..

accountname:x:123:456::/home/accountname:[b:77b0757784]/usr/local/cpanel/bin/noshell[/b:77b0757784]

..but I found a couple lines that were..

accountname:x:123:456::/home/accountname:[b:77b0757784]/bin/bash[/b:77b0757784]
 

kwimberl

Well-Known Member
Aug 13, 2001
123
0
316
[quote:be9e980a1b][i:be9e980a1b]Originally posted by (SH)Saeed[/i:be9e980a1b]

Yes, I meant /etc/passwd..
[/quote:be9e980a1b]

I know you did. Just making light of it and pointing it out so someone doesn't rack their brain trying to find it in /etc/hosts. LOL