Page 1 of 2
Last login from: localhost
Posted: Wed May 28, 2003 9:20 pm
by ZeroFill
Whenever a user logs into their account, they see "Last login from: localhost" than their address.
Posted: Thu May 29, 2003 11:33 pm
by porcupine
Logs into where, from/through where?
Posted: Thu May 29, 2003 11:47 pm
by ZeroFill
>Logs into where from/through where?
their client account via
https://www5.pcdc.net:2083/
i'm actually still testing it w/ my home computer. instead of showing my ip, it is displaying localhost.
Posted: Thu May 29, 2003 11:49 pm
by porcupine
so you're using the web-based ssh? thats normal as it's logging in from ... the local host

. SSH just sees the web interface connecting, it doesen't pass through to your home ip if thats what you're thinking.
Posted: Thu May 29, 2003 11:52 pm
by ZeroFill
porcupine wrote:so you're using the web-based ssh? thats normal as it's logging in from ... the local host

. SSH just sees the web interface connecting, it doesen't pass through to your home ip if thats what you're thinking.
actually, the web based ssh doesnt work (it says to use ssh1 than ssh2). i'm talking about (in the previous posts) the actual control panel

Posted: Fri May 30, 2003 12:00 am
by porcupine
No picture

.
Posted: Fri May 30, 2003 12:02 am
by ZeroFill
it'd be a good idea if i typed in the right filename eh ;p (switched it to my other domain to avoid dns problems)
Posted: Fri May 30, 2003 12:19 am
by porcupine
Ahh yes, SSH1 is disabled for various security related reasons.
The "last logged in from" most likely reflects the result from the "finger" command. if you SSH into that account, it'll likely change that value

Posted: Fri May 30, 2003 12:20 am
by ZeroFill
nope. i was putty'ing though it earlier, it still says localhost. pretty strange
ssh motd shows the proper "Last Login: date ip" but cpanel doesnt.
[edit]
found what could be the problem. the .lastlogin file in the account's home dir wasnt getting updated
Posted: Fri May 30, 2003 12:24 am
by porcupine
*shrug* not too sure where it's pulling that from then, you'd have to pull the panel script you're using apart and check if you're really concerned, all the ones installed are opensource.
Posted: Fri May 30, 2003 12:26 am
by ZeroFill
i'll see what happens when i switch it from cPanelX to something else.
you said i will have to look at the code, does that mean we're allowed to make custom scripts? where do we store the templates?
Posted: Fri May 30, 2003 12:30 am
by porcupine
Custom frontends can be considered, but nobody's ever managed to make a proper one. You cannot directly create/place frontends, but we've considered allowing reseller submissions before, of course, if someone makes one, it'll be put on every server, they wont have exclusivity, etc. And it'll have to be pretty good to be considered

.
Posted: Fri May 30, 2003 12:33 am
by ZeroFill
guess mine wont make it as i have 0 artistic skill hehe. coding backend is a lot easier :p
i switched that account to default and it still shows up as localhost. another account, which uses bluelagoon, has the same localhost deal.
not too sure what's going on
Posted: Fri May 30, 2003 12:35 am
by porcupine
whats the username?
Posted: Fri May 30, 2003 12:37 am
by ZeroFill
login PM'd
i found out that the script is forcing the hostname to be localhost. i edited the file (.lastlogin) to say localhostzz. refreshing the page shows localhostzz. upon logging out and logging back in reverts to localhost