jeffd Posted September 29, 2005 Posted September 29, 2005 I have not logged on for ages and have forgotten my admin password - can anyone help me please?
Darklings Posted September 29, 2005 Posted September 29, 2005 you'll need to give us some more info in order to get a good reply, for example - how is the password been set up? a .htaccess/.htpasswd? (thats an easy one, just override the .htpasswd with a new generated password) - is it been setup trought your hosting? then its prob the same as the above.. - or did you use a contribution to protect your admin? (then it would be nice to know what contribution so people with the same contrib or the maker of it can respond to you) Kind Regards, Tom Even in this dark place, yes, I am afraid of my own shadow. Contributions | KnowledgeBase | osCommerce 2.2 pdf
jeffd Posted September 29, 2005 Author Posted September 29, 2005 you'll need to give us some more info in order to get a good reply, for example - how is the password been set up? a .htaccess/.htpasswd? (thats an easy one, just override the .htpasswd with a new generated password) - is it been setup trought your hosting? then its prob the same as the above.. - or did you use a contribution to protect your admin? (then it would be nice to know what contribution so people with the same contrib or the maker of it can respond to you) Kind Regards, Tom It was set-up for me .. and the admin chap (freelancer) has disappeared from face of earth - totally lost as how it was set-up
Darklings Posted September 29, 2005 Posted September 29, 2005 But you have ftp access i hope? can you see if there is a .htpasswd in your root folder? And how does the login looks like? is it a box that popsup (windows alike) where you have to type in? or is there a inputbox in your admin (html alike) where you have to submit? Kind Regards Tom Even in this dark place, yes, I am afraid of my own shadow. Contributions | KnowledgeBase | osCommerce 2.2 pdf
jeffd Posted September 29, 2005 Author Posted September 29, 2005 But you have ftp access i hope? can you see if there is a .htpasswd in your root folder?And how does the login looks like? is it a box that popsup (windows alike) where you have to type in? or is there a inputbox in your admin (html alike) where you have to submit? Kind Regards Tom I can see an inputbox in admin (html alike) where I have to submit So i type in www.mystore.com/admin and a pop up box asks for Name: admin Password: can't remember I cannot see any sign of a .htpasswd looking via ftp thanks for your help so far
jeffd Posted September 29, 2005 Author Posted September 29, 2005 I can see an inputbox in admin (html alike) where I have to submit So i type in www.mystore.com/admin and a pop up box asks for Name: admin Password: can't remember I cannot see any sign of a .htpasswd looking via ftp thanks for your help so far Very stuck here - any help to recover my password would be most aprpeciated - thank you
dahui Posted September 29, 2005 Posted September 29, 2005 Very stuck here - any help to recover my password would be most aprpeciated - thank you may I pop in here as I do understand that some ftpprograms do not show the htacess file due to settings or generally I think the best way is to use your webspace providers cp-panel. not knowing if what yr environment looks like. so who hosts yr site? do you have access to a controlpanel, not for osc, for yr webspace/webpack/vps/dedicated server ? if you have access to any control panel, than please post here which , if not please contact yr host to regain access to yr cp dahui
jeffd Posted September 29, 2005 Author Posted September 29, 2005 may I pop in here as I do understand that some ftpprograms do not show the htacess file due to settings or generally I think the best way is to use your webspace providers cp-panel. not knowing if what yr environment looks like. so who hosts yr site? do you have access to a controlpanel, not for osc, for yr webspace/webpack/vps/dedicated server ? if you have access to any control panel, than please post here which , if not please contact yr host to regain access to yr cp dahui I can see all my files in the OS directories both via Remote Desktop to my server and also via FTP - but cannot fathom out what to do next?
dahui Posted September 29, 2005 Posted September 29, 2005 I can see all my files in the OS directories both via Remote Desktop to my server and also via FTP - but cannot fathom out what to do next? ok but that is remote desktop and ftp, what about accessing yr 'weppack' controlpanel, I mean the place where you make general settings to yr domain, independend of OSC?
jeffd Posted September 29, 2005 Author Posted September 29, 2005 ok but that is remote desktop and ftp, what about accessing yr 'weppack' controlpanel, I mean the place where you make general settings to yr domain, independend of OSC? Yes I can access my control panel also :-)
dahui Posted September 29, 2005 Posted September 29, 2005 Yes I can access my control panel also :-) fine what kind is it? e.g. plesk, ensim, confixx, or ...? anyway find an option for yr domain to set password restriction for directories, in there either change the user's password you find that hass access to yr admin folder thats it dahui
dreamingdigital Posted September 29, 2005 Posted September 29, 2005 I have a host that hides .htaccess and .htpasswd files via ftp. The way to see them is to login with MacOSX Terminal or Windows Command Prompt. Launch the terminal / command prompt program. Here's an example of what to do. C:\ftp ftp> open mywebsite.com Connected to mywebsite.com 220 ProFTPD 1.2.9 Server (bla bla ignore this line) User (mywebsite.com:(none)): myusername 331 Password required for myusername Password: ******* 230: User myusername logged in. ftp> cd / 250 command successful. ftp> cd path/to/your/oscommerce/catalog/admin 250 CWD command successful. ftp> ls -a 200 PORT command successful 150 Opening ASCII mode data connection for file list . .. .htaccess bla.jpg blabla.php 226 Transfer complete. ftp: 1605 bytes received in 0.70Seconds ftp>get .htaccess ftp>delete .htaccess ftp>exit now your .htaccess file will be downloaded to the directory you started in on your computer: C:\ open it up and see the part where it says where your .htpasswd file is. Do the steps as above and download it and then delete it from the server. Now you can start fresh and password protect the way you want. I suggest doing the .htaccess and .htpasswd thing again but make a user/password you can remember. This web site: http://www.flash.net/cgi-bin/pw.pl will help you create the .htpasswd file. You can now use your regular FTP program to put the files back. It just won't show up once transferred, but it's actually there. If you don't know the path/to/my/catalog/admin use your FTP program at the same time so you can see visually. Usually hosts allow up to 3 ftp connections for the same user at once. Again, those prompts without the display stuff are: ftp open yourwebsite.com myusername mypassword cd / cd path/to/my/catalog/admin ls -a get .htaccess delete .htaccess exit Have fun! Now you know.... and you can look "cool" to all your buddies using the black and white terminal / command prompt window...hacker! COLIN
Recommended Posts
Archived
This topic is now archived and is closed to further replies.