Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-14-2003, 03:40 PM   #1
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
Just change Samba password, not Unix password?


I have never really used this setting before on my Samba server, I change samba users passwords locally on the server when I need to. I do know that by entering the following, a user can change his/her password from a Windows machine connected to the domain.

unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Please*retype*new*password* %n\n *password*successfully*updated*

First, what does a user need to do in Windows to change the password?

I am guessing that the first line means the samba password is the same as the password for the local user account on the server. What if I don't want to allow a user to log onto the server locally, but still want him/her to be able to change their Samba password? Is there anyway to do this? I don't really want to create a local password for the user, and then disable the account locally. I'd rather create a local account, not give it a local password (so it can't logon that way) and then just give it a samba password, and then allow it to be changed remotely via a Samba connection. Am I asking too much?
Old 08-14-2003, 07:52 PM   #2
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
In /etc/passwd make their shell "/bin/false" its at the end of all the lines in /etc/passwd



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
samba password change jmarsh Linux - Networking 12 09-06-2011 03:57 AM
Samba access without unix username/password? mdkelly069 Linux - Networking 0 09-13-2004 05:05 PM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 09:39 AM
sychronize samba and unix password at user creation JohanLingen Programming 1 10-10-2003 07:34 PM
SAMBA UNIX password synchronization sewer_monkey Linux - Networking 2 10-30-2002 11:38 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:26 AM.

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