?
Solved

change samba password with telnet as a simple user

Posted on 2003-03-10
5
Medium Priority
?
265 Views
Last Modified: 2010-04-20
I've got problems when changing a user samba password while i'm logging with this user.  I've to logon with the root to change a password.  How can a user change his password without be log in the root account?  May i change the smb.conf file?
0
Comment
Question by:sisterham
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Expert Comment

by:zeus11
ID: 8106648
passwd changes the linux password, but in order to change the samba password, i think that root is going to have to do it, unless that user installed samba.  root can change it in /etc/fstab if that is where you have the samba passwords located. otherwise you may be able to change it in the smbpasswd file
0
 

Accepted Solution

by:
Dev_Null earned 500 total points
ID: 8106801
As a user who has an account on Samba, you can run
command smbpasswd. You would be prompted for your old password, then for a new password.
0
 
LVL 1

Expert Comment

by:Rahmath
ID: 8127017

You can do that. just login with your account and issue the command "smbpasswd". the result will be like this


[abc@LP-desk abc]$ smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
Password changed for user abc
[abc@LP-desk abc]$
0
 

Expert Comment

by:CleanupPing
ID: 9087751
sisterham:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 2

Expert Comment

by:TheWeakestLink
ID: 9287900
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept comments from Dev_Null as answer
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheWeakestLink
EE Cleanup Volunteer
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month14 days, 3 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question