LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 08-14-2003, 04:40 PM   #1
sorrodos
Member
 
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?


Hi,

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, 08:52 PM   #2
tarballedtux
Member
 
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


--tarballedtux
 
  


Reply


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


All times are GMT -5. The time now is 04:32 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration