LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 07-29-2014, 06:51 AM   #1
somnathndy
Member
 
Registered: May 2013
Posts: 30

Rep: Reputation: Disabled
New user creation in SAMBA


Hi all,

I have to import users into SAMBA(smbpasswd) in batch. It is around 700 now. User addition in RHEL part is done with creation of respective home directories. Please help me with a script which will import user names and passwords from a text/csv file - whatever possible. Also please note that User Name and Passwords are different in my case.
 
Old 07-29-2014, 09:53 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,319

Rep: Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470
Quote:
Originally Posted by somnathndy View Post
Hi all,

I have to import users into SAMBA(smbpasswd) in batch. It is around 700 now. User addition in RHEL part is done with creation of respective home directories. Please help me with a script which will import user names and passwords from a text/csv file - whatever possible. Also please note that User Name and Passwords are different in my case.
We are NOT going to write your scripts for you...and this thread is very closely related to your other thread:
http://www.linuxquestions.org/questi...ba-4175512590/

...where you already HAVE a script, but haven't edited it correctly.
 
Old 07-29-2014, 10:03 AM   #3
somnathndy
Member
 
Registered: May 2013
Posts: 30

Original Poster
Rep: Reputation: Disabled
Hi TB0ne,

Thank you for your reply.
Please give me idea, I do not have any experience on it - unable to understand where is the problem.
 
  


Closed Thread


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
Automatic User Creation with SSH Key creation kjsubbu Linux - Security 5 07-21-2014 10:15 AM
System user creation with mysql user creation moos3 Programming 1 08-11-2007 09:01 PM
sychronize samba and unix password at user creation JohanLingen Programming 1 10-10-2003 08:34 PM
Samba user creation with text file Skorpio Linux - Networking 1 10-02-2003 11:05 AM
Samba user creation bripage Linux - General 2 07-26-2002 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration