Jump to content

Recommended Posts

Posted

Hi,

 

I am in process of creating accounts for all our pupils. I would like passwords to be just simple words. What do you use for passwords generators? I have actually never dome this before.

 

Thank you,

 

M

Posted

Use password and they will need to change it before they login.

If you are in a Primary School and pupils can’t spell “password”, just leave it blank and once again, they’ll need to change it before they login.

  • Thanks 1
Posted

Hmm, I remember doing something similar last year. Can't remember what is was now but I used a piece of software that you uploaded a word list to and you chose what it did. For example, you can tell it to combine 2 random words together with a number at the end. The hardest part was finding a long enough list of child friendly words.

 

This year we asked the teachers to fill in a locked down google sheet so they can choose their own passwords.

  • Thanks 1
Posted

I have a database of 20,000 6 letter words, and when staff need to reset a students password it picks on randomly from the database and sets the "change at first logon" tag as well.

For their first password we just use the date of birth

  • Thanks 1
Posted
I have a database of 20,000 6 letter words, and when staff need to reset a students password it picks on randomly from the database and sets the "change at first logon" tag as well.

For their first password we just use the date of birth

 

Where did you get your database from if you don't mind me asking?

  • Thanks 1
Posted
Just took a look around for an API, wordsAPI is free for 2500 calls a day. So no need to have a DB just use PowerShell and make a call to the API for a random word. If you make 2500 calls in a day then you have a much bigger issue!
  • Thanks 1
Posted

If you want random passwords then it's two lines of code:-

 

[Reflection. Assembly] ::LoadWithPartialName("System. Web")

[system.Web.Security.Membership]::GeneratePassword(10,3)

 

But that's gets you a totally random string, the OP wants to get a simple word not a random set of chars.

 

You could use get-random and pass a list of words:

 

$list = "Harry","Mich","Joel","Edith","Mo","Phe"

$list | Get-Random

 

Will get you a random word from a list.

 

Or as noted and I will post the code use an API to get a random word.

  • Thanks 1
Posted
Where did you get your database from if you don't mind me asking?

 

I believe I found a site via a google search, and then went through it and removed some of the unsuitable words, then dropped them all into a MySQL table

  • Thanks 1
Posted (edited)

Not sure of OP's situation, but I provide a 6 character random password for my secondary students using the following script

 

$LCase = $NULL
For ($a=97;$a -le 122;$a++) {
   $LCase+=,[char][byte]$a
}

Function Get-Password {
   Param(
       [int]$Length=6,
       [string[]]$SourceData
   )

   For ($Loop=1; $Loop -le $Length; $Loop++) {
$TempPassword+=($SourceData | Get-Random)
   }

   Return $TempPassword
}

Get-Password -Length  -SourceData $LCase

 

The $LCase array lists all lower case ASCII charterers. I have arrays for Upper Case, Lower Case, Numbers and Symbols to pick from, but I'm not that cruel!

 

That all gets dumped into a SQL database along with all their other details so that I can reset their passwords to the same thing each time, so the stickers that are printed for them in Yr7 remain accurate.

Edited by Sephiroth
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...