[K12OSN] importing and exporting student lists

Jim Kronebusch jim at winonacotter.org
Tue Mar 2 22:42:37 UTC 2004


Awesome, I will be getting there this summer.  However I will of course
need to use existing passwords as not to confuse the general population.
Would it be safe to assume that I could pull your generated users.txt
into an existing database as a delimited file to match up with existing
users and passwords?

FYI - I clicked the link to download the pl and I get a 403 forbidden
error.

-----Original Message-----
From: k12osn-admin at redhat.com [mailto:k12osn-admin at redhat.com] On Behalf
Of Steve Wright
Sent: Tuesday, March 02, 2004 9:20 PM
To: k12osn at redhat.com
Subject: Re: [K12OSN] importing and exporting student lists


On Wed, 2004-03-03 at 04:44, Kevin Boone wrote:
> Is it possible to create an export list in k12LTSP?


Ok, I slapped this together just for fun.

usage is simply ;

$ dumpusers.pl

Do this on the machine you are dumping.  You may output the result to
file simply by redirecting, viz, `dumpusers.pl > users.txt`

You should now have a tidy file with all your users in it, complete with
new passwords.  Yes, NEW passwords.

Now, you can use scripts from here http://www.lfsp.org/users.html  to
either REMOVE these users off your system, or ADD them to another
system.  BE CAREFUL doing this.

Download it from http://linuxathome.ath.cx/~steve/files/dumpusers.pl


You might want to make yourself a /home/user/bin directory and biff it
in there.  Run my newbie hackerish scripts as root on your production
server and diiiiiiie, ok.  Just don't.

You must also install pwgen - a pronounceable password generator. RPM
made by checkinstall on my K12LTSP v4.1 system, available from here
http://linuxathome.ath.cx/~steve/files/pwgen-2.03-1.i386.rpm

Or build it yourself from source from here ;
http://sourceforge.net/projects/pwgen/


enjoy, and don't break anything.  ;-)

/Steve



_______________________________________________
K12OSN mailing list
K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.602 / Virus Database: 383 - Release Date: 3/1/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.602 / Virus Database: 383 - Release Date: 3/1/2004
 





More information about the K12OSN mailing list