Last login from: localhost

Technical support for webhosting Resellers, and questions which directly relate to their services.

Moderator: Admins

ZeroFill
newbie
Posts: 32
Joined: Wed May 28, 2003 1:59 am

Last login from: localhost

Post by ZeroFill »

Whenever a user logs into their account, they see "Last login from: localhost" than their address.
porcupine
Site Admin
Posts: 703
Joined: Wed Jun 12, 2002 5:57 pm
Location: Toronto, Ontario
Contact:

Post by porcupine »

Logs into where, from/through where?
Myles Loosley-Millman
Priority Colo Inc.
myles@prioritycolo.com
http://www.prioritycolo.com
ZeroFill
newbie
Posts: 32
Joined: Wed May 28, 2003 1:59 am

Post 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.
Last edited by ZeroFill on Thu May 29, 2003 11:51 pm, edited 1 time in total.
porcupine
Site Admin
Posts: 703
Joined: Wed Jun 12, 2002 5:57 pm
Location: Toronto, Ontario
Contact:

Post 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.
Myles Loosley-Millman
Priority Colo Inc.
myles@prioritycolo.com
http://www.prioritycolo.com
ZeroFill
newbie
Posts: 32
Joined: Wed May 28, 2003 1:59 am

Post 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
Image
Last edited by ZeroFill on Fri May 30, 2003 12:05 am, edited 5 times in total.
porcupine
Site Admin
Posts: 703
Joined: Wed Jun 12, 2002 5:57 pm
Location: Toronto, Ontario
Contact:

Post by porcupine »

No picture :).
Myles Loosley-Millman
Priority Colo Inc.
myles@prioritycolo.com
http://www.prioritycolo.com
ZeroFill
newbie
Posts: 32
Joined: Wed May 28, 2003 1:59 am

Post 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)
porcupine
Site Admin
Posts: 703
Joined: Wed Jun 12, 2002 5:57 pm
Location: Toronto, Ontario
Contact:

Post 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 :)
Myles Loosley-Millman
Priority Colo Inc.
myles@prioritycolo.com
http://www.prioritycolo.com
ZeroFill
newbie
Posts: 32
Joined: Wed May 28, 2003 1:59 am

Post 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
Last edited by ZeroFill on Fri May 30, 2003 12:25 am, edited 1 time in total.
porcupine
Site Admin
Posts: 703
Joined: Wed Jun 12, 2002 5:57 pm
Location: Toronto, Ontario
Contact:

Post 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.
Myles Loosley-Millman
Priority Colo Inc.
myles@prioritycolo.com
http://www.prioritycolo.com
ZeroFill
newbie
Posts: 32
Joined: Wed May 28, 2003 1:59 am

Post 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?
porcupine
Site Admin
Posts: 703
Joined: Wed Jun 12, 2002 5:57 pm
Location: Toronto, Ontario
Contact:

Post 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 :).
Myles Loosley-Millman
Priority Colo Inc.
myles@prioritycolo.com
http://www.prioritycolo.com
ZeroFill
newbie
Posts: 32
Joined: Wed May 28, 2003 1:59 am

Post 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
porcupine
Site Admin
Posts: 703
Joined: Wed Jun 12, 2002 5:57 pm
Location: Toronto, Ontario
Contact:

Post by porcupine »

whats the username?
Myles Loosley-Millman
Priority Colo Inc.
myles@prioritycolo.com
http://www.prioritycolo.com
ZeroFill
newbie
Posts: 32
Joined: Wed May 28, 2003 1:59 am

Post 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
Post Reply