LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-20-2008, 09:25 PM   #1
ntm333
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Lost Admin Password


Hi

Is there anyone know how to retrieve/restore samba admin password ? This morning tried to login but cant due to wrong password.

Appreciate the help

Thanks.
 
Old 10-21-2008, 05:15 AM   #2
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 598

Rep: Reputation: 30
What is the distro , you are using? There is no samba admin user . If you have a samba user with the name admin, you can change the password by logging to the server as root.

Say , your samba admin name as sambaadmin

Code:
smbpasswd -a sambaadmin
This will add the user sambaadmin(if not already exists) and prompt you for password.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lost ldap admin password irvken Linux - Software 1 12-20-2007 02:03 AM
Lost an admin password and the install cds for OS X jason.rohde General 2 11-27-2006 02:12 PM
admin password amcarthur *BSD 10 06-20-2005 08:26 PM
admin. password mark1346 Linux - Software 2 08-05-2003 05:24 PM
Recovering Lost Admin. Password Mr Neroazzurri Linux - Security 4 03-14-2003 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration