Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Lost password for admin section of links sql

Quote Reply
Lost password for admin section of links sql
I changed the password for links sql. I tried using the old and new username/pass to get in. It won't let me in. How do i look up the password that its using? Is it in any sql table?

Any easy way to retrieve it?
Quote Reply
Re: [SinisterX] Lost password for admin section of links sql In reply to
That question is quite a good one. I looked in my database via phpmyadmin and cannot find it either. I would like to know the answer as well - just in case something goes wrong and have to dig in behind the scenes.
Quote Reply
Re: [SinisterX] Lost password for admin section of links sql In reply to
Before you try anything else, this is what I would recommend...

Login via FTP and go the backup folder under admin and download most recent (or even all) backups, so if anything were to happen, you will atleast have you database and you can restore it.

Hope this helps.

Need Scripts

Vishal
-------------------------------------------------------
Quote Reply
Re: [SinisterX] Lost password for admin section of links sql In reply to
It's using these files if under UNIX/LINUX"

.htaccess
.htpasswd

You can view the .htpasswd file to read the USER.
The PASSWORD is encrypted and not readable.

IF you have correct permission, you can rename the .htaccess file to .xhtaccess and it will be disabled.

You may need to login through telenet to do this.
(Your FTP login may not have the needed permissions, as it may be owned by "nobody")
Quote Reply
Re: [webslicer] Lost password for admin section of links sql In reply to
where is this located?
Any gossamer staff know the correct way to retrieve a password. I didn't forget the password. It simply stopped working. I change it every week.
Quote Reply
Re: [webslicer] Lost password for admin section of links sql In reply to
That tells an interesting story as to why I cannot find it. I guess the real question is as SinisterX (user) asks. What can be done easily to fix the problem. Does GT have a spare .htaccess file that can be uploaded with say, admin/admin login in order to restore system operation.
Quote Reply
Re: [Gypsypup] Lost password for admin section of links sql In reply to
The password is one way and can never be retrieved. Simply rename the .htaccess and .htpasswd files to something liike bak.htaccess and then create two blank files - you can then login to the admin area without a password prompt.
Quote Reply
Re: [Gypsypup] Lost password for admin section of links sql In reply to
In Reply To:
That tells an interesting story as to why I cannot find it. I guess the real question is as SinisterX (user) asks. What can be done easily to fix the problem. Does GT have a spare .htaccess file that can be uploaded with say, admin/admin login in order to restore system operation.

You won't be able to find it. Mot FTP clients don't show it to you. What you can do, is type a custom command in the /admin/ folder of LSQL;

DELE .htaccess
DELE .htpasswd

...then upload 2 blank files... .htaccess and .htpaswd.

You may need to CHMOD these manually with;

CHMOD 666 .htaccess
CHMOD 666 .htpasswd

Hope that helps Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Lost password for admin section of links sql In reply to
any ftp clients that do show it? so i don't have to do any dirty work and start shhing in ;-)
Quote Reply
Re: [SinisterX] Lost password for admin section of links sql In reply to
http://list.cobalt.com/...-October/025605.html

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Lost password for admin section of links sql In reply to
Another option you have is use PHP to create a new .htaccess file with a particular username and password and upload that into admin. It will work. I think.

What do you say Andy ? BTW, Great work here for LinksSQL Andy. Three Cheers for you. :-)
>> Nakul Goyal (SEO, Link Building Expert)
Web Site Promotion
Tips 'n' Tricks
SEO News


Quote Reply
Re: [nakulgoyal] Lost password for admin section of links sql In reply to
You don't need to use php though :)

htpasswd -c .htpasswd new_user
Quote Reply
Re: [Coombes] Lost password for admin section of links sql In reply to
Thanks. I didn't knew this.
>> Nakul Goyal (SEO, Link Building Expert)
Web Site Promotion
Tips 'n' Tricks
SEO News


Quote Reply
Re: [SinisterX] Lost password for admin section of links sql In reply to
I think smartftp does lets to see/edit/chmod files starting with "."

Need Scripts

Vishal
-------------------------------------------------------
Quote Reply
Re: [nakulgoyal] Lost password for admin section of links sql In reply to
In Reply To:
What do you say Andy ? BTW, Great work here for LinksSQL Andy. Three Cheers for you. :-)

It doesn't really matter how you create it. Another way would be to log in via SSH, and type;

rm -f .htaccess
rm -f .htpasswd

....then use the attached script to re-generate these files with your new username etc Cool

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Lost password for admin section of links sql In reply to
Yikes, where did you find that script?...it's awful Wink
Quote Reply
Re: [Coombes] Lost password for admin section of links sql In reply to
>>>Yikes, where did you find that script?...it's awful <<<

I'll take that as a joke Mad It my script!

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Lost password for admin section of links sql In reply to
Andy

I really like your scripts and I am going to be your customer soon. :-)
>> Nakul Goyal (SEO, Link Building Expert)
Web Site Promotion
Tips 'n' Tricks
SEO News


Quote Reply
Re: [nakulgoyal] Lost password for admin section of links sql In reply to
In Reply To:
Andy

I really like your scripts and I am going to be your customer soon. :-)

Thanks Cool

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!