Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

excel password formula

  • 28-06-2006 4:26pm
    #1
    Closed Accounts Posts: 839 ✭✭✭


    I have 400 users to give initial passwords to and I don't fancy making up 400 passwords so all the usernames are in an excel spreadsheet can anyone give me a formula that would create a random password.

    Also secuirty isn't a worry they will be forced to change on first login, passwords must be over 6 characters and have at least 1 letter and 1 number.


Comments

  • Registered Users, Registered Users 2 Posts: 944 ✭✭✭SwampThing


    Why not something like first letter of first name, all of surname, remove any apostophies etc. and then replace all the vowels with an extended character and then lower-case it all.


    Example: Mary O'Hara would be m0h9r9 - Elaine Burns would be 3b4rns

    just make a map for the vowels - a = 9, e = 3, i = 1, o = 0 and u = 4


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 93,567 Mod ✭✭✭✭Capt'n Midnight


    you can do it in DOS

    set /P user=Enter user name
    Set %pw%=Pa%random%
    NET USER %user% %pw% /ADD /Domain
    echo %user% %pw% >> password.lst

    and combine with something like
    for /F %%i in (user.lst) do call set PW %%i


  • Closed Accounts Posts: 839 ✭✭✭zap


    SwampThing wrote:
    Why not something like first letter of first name, all of surname, remove any apostophies etc. and then replace all the vowels with an extended character and then lower-case it all.


    Example: Mary O'Hara would be m0h9r9 - Elaine Burns would be 3b4rns

    just make a map for the vowels - a = 9, e = 3, i = 1, o = 0 and u = 4


    how would i do that in excel and rmeove the spaces etc.

    BTW won't be doing it in DOS cause I use macs.


  • Registered Users, Registered Users 2 Posts: 944 ✭✭✭SwampThing


    PM me your e-mail address - I'll send you a sample spreadsheet.


  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 93,567 Mod ✭✭✭✭Capt'n Midnight


    zap wrote:
    BTW won't be doing it in DOS cause I use macs.
    LOL - am I don't use Excel

    (OpenOffice uses a ; where excel uses , )


    simple subsitution doesn't increase entrophy much, random numbers might be better

    A1 = forename
    B1 = Surname
    C1 = UPPER(LEFT(A1))&LOWER((B1))&RANDBETWEEN(100;999)

    Fred Bloggs Fbloggs747

    (if you haven't split the names open the user list in a text editor - not word and replace spaces with commas and then tell excel it's a text only file when opening it)


  • Advertisement
Advertisement