LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Reset SWAT Password (https://www.linuxquestions.org/questions/linux-networking-3/reset-swat-password-157534/)

Tezdread 03-14-2004 12:12 PM

Reset SWAT Password
 
Hi all,

I've got SWAT installed but haven't used it for a while and I've fogotten the login details :-/

Does anyone know how to reset these details? I don't have any usernames or passwords

Thanks in advance

peter_robb 03-14-2004 12:18 PM

It uses the system names/passwords...

You need the root password to do anything...

Tezdread 03-14-2004 03:48 PM

thank you that worked! I thought it needed another :-/

chris246 05-23-2004 06:42 PM

I have an interesting problem with my SWAT.
I get the password popup for swat when i do the 127.0.0.1:901 and then i can't use my root password to login. It won't work. I don't know what i should do.
thanks,
Chris

Matt Perrgo 07-23-2008 05:51 PM

Quote:

Originally Posted by chris246 (Post 949871)
I have an interesting problem with my SWAT.
I get the password popup for swat when i do the 127.0.0.1:901 and then i can't use my root password to login. It won't work. I don't know what i should do.
thanks,
Chris

I am having the same exact problem! What do we do?

Please help!

zer0python 07-23-2008 06:08 PM

Easy
 
Try (in a command shell, as root!)

Code:

smbpasswd -a root

Matt Perrgo 07-23-2008 07:02 PM

still no work.
 
Quote:

Originally Posted by zer0python (Post 3224238)
Try (in a command shell, as root!)

Code:

smbpasswd -a root

Thank you for the reply this should help... Unfortunatly this didn't work. I was able to change the password, but yet it did not change, and still does not let me log into the localhost:901

wierd..

zer0python 07-24-2008 06:47 AM

Gah, sorry for not being able to respond quicker, as the power at my house went out last night, anyway.. I just recalled something, swat isn't necessarily enabled with pam by default, check your /etc/pam.d/samba file, and see to make sure everything is right, also. try doing

Code:

smbpasswd -e root
this enables user root, but isn't necessarily your problem. (it's probably the PAM thing.)

Edit:
Oh yeah, and make sure you compiled with the --with-pam flag. :)


All times are GMT -5. The time now is 08:39 AM.