|
FreeBSD ?
|
| Author |
Message |
StevenE
Junior Member

Posts: 97
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: FreeBSD ?
finally it seems working but I'd made a big mistake ^^
I typed password wrong 3 times so....
You have been blocked for 30 minutes
ARGH wanna kill myself is there a way to surpass this?
thought the password is set in the installation but it didn't worked. hmmm...
OS : FreeBSD 7.0-RC1
ispCP Version : RC5
Apache-Version : 2.2.6
MySQL-Version : 5.1.22
Mods : none
|
|
| 02-27-2008 09:07 PM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: FreeBSD ?
you can remove all records in the table ispcp.login...
the mysql password is different from the ispcp access! (ok, it may be the same).
You can also give the ispcp account a new password: table ispcp.admin
2008-03-16 ispCP RC4 released!!!
|
|
| 02-27-2008 09:18 PM |
|
 |
StevenE
Junior Member

Posts: 97
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: FreeBSD ?
ok,
there actual was no admin, the table was empty only the structure, I created one
admin_id 1
admin_name root
admin_pass admin
admin_type NULL
domain_created 0
customer_id 0
created_by NULL
fname root
lname root
uniqkey NULL
uniqkey_time NULL
or have I overseen at least a script for create the account?
but when I now try to login
You entered an incorrect password.
OS : FreeBSD 7.0-RC1
ispCP Version : RC5
Apache-Version : 2.2.6
MySQL-Version : 5.1.22
Mods : none
|
|
| 02-27-2008 09:42 PM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: FreeBSD ?
you need to MD5 the password 
/J
PS: should be created during setup - but since the db could not be reached everything with this was ommitted...
2008-03-16 ispCP RC4 released!!!
This post was last modified: 02-27-2008 09:54 PM by joximu.
|
|
| 02-27-2008 09:53 PM |
|
 |
StevenE
Junior Member

Posts: 97
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: FreeBSD ?
ouch.... sorry my fault....
ok now the login seems to work but it redirect me on the login page again
edit: if I change header location to admin/index.php it also redirect me to the login page
when I give something like test.php of course it doesn't work
OS : FreeBSD 7.0-RC1
ispCP Version : RC5
Apache-Version : 2.2.6
MySQL-Version : 5.1.22
Mods : none
This post was last modified: 02-27-2008 10:51 PM by StevenE.
|
|
| 02-27-2008 10:19 PM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: FreeBSD ?
hm... now this is going deeper and deeper....
I don't know if it's from an incomplete entry. I put my admin-record here:
"admin_id";"admin_name";"admin_pass";"admin_type";"domain_created";"customer_id";"created_by";
"fname";"lname";"gender";"firm";"zip";"city";"country";
"email";"phone";"fax";"street1";"street2";"uniqkey";"uniqkey_time"
"1";"admin";"crypted-password";"admin";"0";"0";"0";;;"M";;;;;"mymail@domain.xy";;;;;NULL;"2007-12-16 11:04:58"
maybe it's the admin_type -> should be admin....
2008-03-16 ispCP RC4 released!!!
This post was last modified: 02-27-2008 10:56 PM by joximu.
|
|
| 02-27-2008 10:55 PM |
|
 |
StevenE
Junior Member

Posts: 97
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: FreeBSD ?
yeah that's it!!!
on the first look it works, I'm sure that I have to make some changes but finally I'm logged in
strike 
you're great, thanks a lot
OS : FreeBSD 7.0-RC1
ispCP Version : RC5
Apache-Version : 2.2.6
MySQL-Version : 5.1.22
Mods : none
This post was last modified: 02-27-2008 11:10 PM by StevenE.
|
|
| 02-27-2008 11:10 PM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: FreeBSD ?
Could you answer my question about (post 18) the root:wheel.
Is the gid for group wheel also 0 (zero) - then we could change this and I think alot of errors would magically dissappear 
/Joxi
2008-03-16 ispCP RC4 released!!!
This post was last modified: 02-27-2008 11:17 PM by joximu.
|
|
| 02-27-2008 11:17 PM |
|
 |
StevenE
Junior Member

Posts: 97
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: FreeBSD ?
there was no group root so I created one
root:*:1111:root
the wheel seems normal
wheel:*:0:root
gid isn't 0
hope it'll help
OS : FreeBSD 7.0-RC1
ispCP Version : RC5
Apache-Version : 2.2.6
MySQL-Version : 5.1.22
Mods : none
This post was last modified: 02-27-2008 11:22 PM by StevenE.
|
|
| 02-27-2008 11:21 PM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: FreeBSD ?
the wheel seems normal
wheel:*:0:root
gid isn't 0
hope it'll help
???
the group-id is the 3rd field, so it is 0
if I enter the command "id" as root, I'll get
uid=0(root) gid=0(root) groups=0(root)
you maybe get
uid=0(root) gid=0(wheel) groups=0(wheel)
??
/J
2008-03-16 ispCP RC4 released!!!
|
|
| 02-27-2008 11:31 PM |
|
 |
|
|