<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Linux: How To Create Multiple Users Accounts in Batch</title> <atom:link href="http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: fraggie</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-177621</link> <dc:creator>fraggie</dc:creator> <pubDate>Wed, 28 Dec 2011 10:34:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-177621</guid> <description>Hi All,
I generally have to add many users on around 200 servers at the same time. its a hectic job. could anyone help me in creating a script for that. i use ssh to access servers but ssh may not be configured on some of the servers.
Thanks in advance.</description> <content:encoded><![CDATA[<p>Hi All,<br
/> I generally have to add many users on around 200 servers at the same time. its a hectic job. could anyone help me in creating a script for that. i use ssh to access servers but ssh may not be configured on some of the servers.<br
/> Thanks in advance.</p> ]]></content:encoded> </item> <item><title>By: Al</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-160639</link> <dc:creator>Al</dc:creator> <pubDate>Mon, 01 Nov 2010 21:01:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-160639</guid> <description>Nice!! I was looking for this... one question: How can we create new groups in the same shell script and assign those new different groups to the different users in batch?</description> <content:encoded><![CDATA[<p>Nice!! I was looking for this&#8230; one question: How can we create new groups in the same shell script and assign those new different groups to the different users in batch?</p> ]]></content:encoded> </item> <item><title>By: venkat</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-159968</link> <dc:creator>venkat</dc:creator> <pubDate>Fri, 01 Oct 2010 04:40:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-159968</guid> <description>how to create multipul users at time........?
how generate new users and passwords automatically by system and send to user mail ?
how checking system performence.....?</description> <content:encoded><![CDATA[<p>how to create multipul users at time&#8230;&#8230;..?<br
/> how generate new users and passwords automatically by system and send to user mail ?<br
/> how checking system performence&#8230;..?</p> ]]></content:encoded> </item> <item><title>By: John Brock</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-157746</link> <dc:creator>John Brock</dc:creator> <pubDate>Mon, 12 Jul 2010 08:59:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-157746</guid> <description>Hi
On reading this page, I thought as usual, it would be so easy to create a few users...
But &#039;newusers&#039; is quite fussy. Your example above fails with &quot;invalid line&quot; for just the simple example.
You MUST put a complete line in in the correct format.
e.g. johnb:jknb1234:1001:500:mailuser:/home/mailuser:/bin/bash
Also do this at the cli, not from Windwoes. This will add extra characters (cr) to every line.
regards
John Brock
PS why don&#039;t you sort the entries so that the latest comments are nearest the tutorial?</description> <content:encoded><![CDATA[<p>Hi<br
/> On reading this page, I thought as usual, it would be so easy to create a few users&#8230;<br
/> But &#8216;newusers&#8217; is quite fussy. Your example above fails with &#8220;invalid line&#8221; for just the simple example.<br
/> You MUST put a complete line in in the correct format.<br
/> e.g. johnb:jknb1234:1001:500:mailuser:/home/mailuser:/bin/bash<br
/> Also do this at the cli, not from Windwoes. This will add extra characters (cr) to every line.</p><p>regards<br
/> John Brock<br
/> PS why don&#8217;t you sort the entries so that the latest comments are nearest the tutorial?</p> ]]></content:encoded> </item> <item><title>By: Big</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-155671</link> <dc:creator>Big</dc:creator> <pubDate>Wed, 05 May 2010 09:08:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-155671</guid> <description>If I&#039;m requested to create 1000 users on Linux server, what would be the easiest way to do it?</description> <content:encoded><![CDATA[<p>If I&#8217;m requested to create 1000 users on Linux server, what would be the easiest way to do it?</p> ]]></content:encoded> </item> <item><title>By: desi</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-148915</link> <dc:creator>desi</dc:creator> <pubDate>Thu, 11 Jun 2009 09:31:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-148915</guid> <description>i think it has to do because when a user is created its home folder does not contain maildir folder. what should i do?</description> <content:encoded><![CDATA[<p>i think it has to do because when a user is created its home folder does not contain maildir folder. what should i do?</p> ]]></content:encoded> </item> <item><title>By: desi</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-148913</link> <dc:creator>desi</dc:creator> <pubDate>Thu, 11 Jun 2009 09:05:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-148913</guid> <description>hi to everyone!
i try this tutorial but when i try to login to my squirrelmail it shows error messages from IMAP server. every command was executed but the problem is when i try to login to my webmail. what can i do? can anyone help me!</description> <content:encoded><![CDATA[<p>hi to everyone!<br
/> i try this tutorial but when i try to login to my squirrelmail it shows error messages from IMAP server. every command was executed but the problem is when i try to login to my webmail. what can i do? can anyone help me!</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-148298</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Sat, 25 Apr 2009 00:11:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-148298</guid> <description>Refer to your local newusers man page. It may be latest or old version...</description> <content:encoded><![CDATA[<p>Refer to your local newusers man page. It may be latest or old version&#8230;</p> ]]></content:encoded> </item> <item><title>By: Scott Kunian</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-148292</link> <dc:creator>Scott Kunian</dc:creator> <pubDate>Fri, 24 Apr 2009 20:13:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-148292</guid> <description>This workd great for creating the user with one issue I can&#039;t seem to figure out.
My text file was formetted like this
username1:password1:1001:100:User Name:/home/username1:/bin/ksh
The problem I had is that the Login Shell ended up being some newly created /bin/ksh with a odd symbol tacked onto the end. So I still had to go into each user and change the shell. For testing I tried to add a : to the end of each line and that only through an error. I tested again by making the shell /bin/bash and that duplicated the same issue, by createing a different /bin/bash with an odd symbol at the end.
Any thoughts?</description> <content:encoded><![CDATA[<p>This workd great for creating the user with one issue I can&#8217;t seem to figure out.</p><p>My text file was formetted like this<br
/> username1:password1:1001:100:User Name:/home/username1:/bin/ksh</p><p>The problem I had is that the Login Shell ended up being some newly created /bin/ksh with a odd symbol tacked onto the end. So I still had to go into each user and change the shell. For testing I tried to add a : to the end of each line and that only through an error. I tested again by making the shell /bin/bash and that duplicated the same issue, by createing a different /bin/bash with an odd symbol at the end.</p><p>Any thoughts?</p> ]]></content:encoded> </item> <item><title>By: Wilson</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-147831</link> <dc:creator>Wilson</dc:creator> <pubDate>Wed, 25 Mar 2009 04:01:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-147831</guid> <description>I have followed the guide and it can create multiple users in one times...but when I test login the new users, I found got this error:
&quot;Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some installation problem or that you may be out of diskspace. Try logging in with one of the failsafe sessions to see if you can fix this problem.&quot;
May I know what happen? Or I miss some steps in creating new users with above guide?</description> <content:encoded><![CDATA[<p>I have followed the guide and it can create multiple users in one times&#8230;but when I test login the new users, I found got this error:</p><p>&#8220;Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some installation problem or that you may be out of diskspace. Try logging in with one of the failsafe sessions to see if you can fix this problem.&#8221;</p><p>May I know what happen? Or I miss some steps in creating new users with above guide?</p> ]]></content:encoded> </item> <item><title>By: henk the tank</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-147512</link> <dc:creator>henk the tank</dc:creator> <pubDate>Tue, 03 Mar 2009 11:54:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-147512</guid> <description>Can you also make a script for deleting multiple users? and how can i get it work in Suse?</description> <content:encoded><![CDATA[<p>Can you also make a script for deleting multiple users? and how can i get it work in Suse?</p> ]]></content:encoded> </item> <item><title>By: ytuncez</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-147265</link> <dc:creator>ytuncez</dc:creator> <pubDate>Tue, 17 Feb 2009 09:27:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-147265</guid> <description>How do you create user id and group id automatically this command</description> <content:encoded><![CDATA[<p>How do you create user id and group id automatically this command</p> ]]></content:encoded> </item> <item><title>By: Darren</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-146963</link> <dc:creator>Darren</dc:creator> <pubDate>Wed, 28 Jan 2009 20:33:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-146963</guid> <description>Hi, I am trying to create multiple accounts at once. I created a file with all the usernames and commands, but when i run it  (./filename) it gives errors stating that the username is invalid. When I run the command to add a user it works. Can someone help me?</description> <content:encoded><![CDATA[<p>Hi, I am trying to create multiple accounts at once. I created a file with all the usernames and commands, but when i run it  (./filename) it gives errors stating that the username is invalid. When I run the command to add a user it works. Can someone help me?</p> ]]></content:encoded> </item> <item><title>By: Terry</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141630</link> <dc:creator>Terry</dc:creator> <pubDate>Tue, 06 Nov 2007 15:14:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141630</guid> <description>Thanks Vivek, do you happen to have something handy? otherwise no worries, most of the accounts I am creating are for ftp use and will not be logging on anyway</description> <content:encoded><![CDATA[<p>Thanks Vivek, do you happen to have something handy? otherwise no worries, most of the accounts I am creating are for ftp use and will not be logging on anyway</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141629</link> <dc:creator>vivek</dc:creator> <pubDate>Tue, 06 Nov 2007 14:47:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141629</guid> <description>Terry,
Noop, you need to write a custom script using perl or python</description> <content:encoded><![CDATA[<p>Terry,</p><p>Noop, you need to write a custom script using perl or python</p> ]]></content:encoded> </item> <item><title>By: Terry</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141628</link> <dc:creator>Terry</dc:creator> <pubDate>Tue, 06 Nov 2007 14:34:07 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141628</guid> <description>This is a great method for adding multiple users, but I found an issue whereby default user profile settings are not created, ie the contents of /etc/skel are not copied to the user&#039;s home directories.  Is there a way to have this enabled, or does this require a separate step</description> <content:encoded><![CDATA[<p>This is a great method for adding multiple users, but I found an issue whereby default user profile settings are not created, ie the contents of /etc/skel are not copied to the user&#8217;s home directories.  Is there a way to have this enabled, or does this require a separate step</p> ]]></content:encoded> </item> <item><title>By: Anders</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141200</link> <dc:creator>Anders</dc:creator> <pubDate>Wed, 26 Sep 2007 05:36:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141200</guid> <description>Vivek, I owe you bigtime. Thanks a BUNCH! ;-P
If you are skilled with named/DNS, please let me know, I have another problem that I need help with.
Thanks again, huuuuge thanks!
Regards,
Anders, Sweden</description> <content:encoded><![CDATA[<p>Vivek, I owe you bigtime. Thanks a BUNCH! ;-P<br
/> If you are skilled with named/DNS, please let me know, I have another problem that I need help with.</p><p>Thanks again, huuuuge thanks!</p><p>Regards,</p><p>Anders, Sweden</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141182</link> <dc:creator>vivek</dc:creator> <pubDate>Mon, 24 Sep 2007 10:51:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141182</guid> <description>Anders,
A few months back someone posted same question on our &lt;a href=http://nixcraft.com/shell-scripting/2821-how-create-multiple-user-account.html rel=&quot;nofollow&quot;&gt;Linux support forum&lt;/a&gt;. I&#039;ve posed solution for the same.</description> <content:encoded><![CDATA[<p>Anders,</p><p>A few months back someone posted same question on our <a
href=http://nixcraft.com/shell-scripting/2821-how-create-multiple-user-account.html rel="nofollow">Linux support forum</a>. I&#8217;ve posed solution for the same.</p> ]]></content:encoded> </item> <item><title>By: Anders</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141181</link> <dc:creator>Anders</dc:creator> <pubDate>Mon, 24 Sep 2007 08:38:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141181</guid> <description>Extremly nice script! Though, I have a different issue I&#039;m trying to create a work-around for. Im administrating mailaccounts and soon I need to add another 2000 mailaccounts to the system. This is not something done in a few minutes and I was wondering if someone can help me create/have a script/have an idea on how to solve this.
The mailaccounts start with donw and then 4 numbers, ex donw2518, donw2519 etc etc.
So, I need a script that can add users with an incremental count on the username.
Appologize for my bad grammar ;-P
//Anders, Sweden</description> <content:encoded><![CDATA[<p>Extremly nice script! Though, I have a different issue I&#8217;m trying to create a work-around for. Im administrating mailaccounts and soon I need to add another 2000 mailaccounts to the system. This is not something done in a few minutes and I was wondering if someone can help me create/have a script/have an idea on how to solve this.</p><p>The mailaccounts start with donw and then 4 numbers, ex donw2518, donw2519 etc etc.</p><p>So, I need a script that can add users with an incremental count on the username.</p><p>Appologize for my bad grammar ;-P</p><p>//Anders, Sweden</p> ]]></content:encoded> </item> <item><title>By: Max</title><link>http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141084</link> <dc:creator>Max</dc:creator> <pubDate>Wed, 12 Sep 2007 20:34:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-create-multiple-users-accounts-in-batch.html#comment-141084</guid> <description>One godawesome tip mate!
thanx!</description> <content:encoded><![CDATA[<p>One godawesome tip mate!</p><p>thanx!</p> ]]></content:encoded> </item> </channel> </rss>
