LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-06-2004, 12:58 AM   #1
geodo
LQ Newbie
 
Registered: May 2004
Posts: 12

Rep: Reputation: 0
Samba 3.0: net user add - problem with password


Hi!

I want to use
Code:
net user add username password
to create a samba user.
When I use for example: "net user add user1" I get a new user named user1.
I want to have him a password as well so I tried: "net user add user1 12345" with user1 as username and 12345 as password. But using this I receive a message telling me I have to specify the user. How do I have to use that command to create a samba user with a password???

Thanks a lot!
 
Old 12-06-2004, 11:52 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
to add a samba user

smbpasswd -a <username>

regards
 
  


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
How to add an user, without password?? cenzole Linux - Newbie 22 12-25-2017 06:05 PM
add a user with password without prompt grendel-IT Linux - Software 7 09-27-2006 02:07 PM
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 09:59 AM
add user prompt for password on login redir Linux - Newbie 2 02-28-2005 11:01 AM
How do I add a host user password to mysql server? cmisip Linux - Networking 3 12-16-2002 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:58 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
Open Source Consulting | Domain Registration