Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: is this app idea possible?

  1. #1
    Join Date
    Sep 2011
    Location
    South Africa
    Beans
    165
    Distro
    Xubuntu 12.10 Quantal Quetzal

    is this app idea possible?

    Hi

    I'm a University student. The varsity allocates about 3gigs of data per month for each student. My friends normally finish their data before the end of the month and hassle me for mine.

    The thing is --- we each have passwords. The problem I have is that they want me to give them my password. You might think --- it's not a big deal since you can change it.

    The problem however is that I cannot recycle my passwords as with the university password system -- you cannot change your password to a previous one for security reasons.

    I've been meaning to build an app that can create a temp. password for my account.
    Is this possible and how would one go about doing it?


    Regards

  2. #2
    Join Date
    May 2007
    Location
    Leeds, UK
    Beans
    1,664
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: is this app idea possible?

    You should already have a password generator called apg that generates strong passwords:

    Code:
    $ apg
    
    Please enter some random data (only first 16 are significant)
    (eg. your old password):>
    Felbyet2 (Felb-yet-TWO)
    OthOmmuIpOs8 (Oth-Om-mu-Ip-Os-EIGHT)
    ojDaffyab8 (oj-Daff-yab-EIGHT)
    yedguAjnot8 (yed-gu-Aj-not-EIGHT)
    ErfLckFam8 (Erf-Lck-Fam-EIGHT)
    madBirb4 (mad-Birb-FOUR)

  3. #3
    Join Date
    Sep 2011
    Location
    South Africa
    Beans
    165
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: is this app idea possible?

    I don't want to just generate passwords.

    I want to generate TEMPORARY passwords for a specific account!

  4. #4
    Join Date
    Apr 2012
    Beans
    39

    Re: is this app idea possible?

    Quote Originally Posted by 3v3rgr33n View Post
    I don't want to just generate passwords.

    I want to generate TEMPORARY passwords for a specific account!
    How will passwords be set? Will the password expire and change after a period of time? You say you can't recycle passwords so the password can't be reset to what it was originally, right?

  5. #5
    Join Date
    Sep 2011
    Location
    South Africa
    Beans
    165
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: is this app idea possible?

    Quote Originally Posted by SuperCamel View Post
    How will passwords be set? Will the password expire and change after a period of time? You say you can't recycle passwords so the password can't be reset to what it was originally, right?
    1. Will the password expire and change after a period of time?

    Yes!

    2. You say you can't recycle passwords so the password can't be reset to what it was originally, right?

    Yes It can't. Is it not possible to create an additional password --- then one would have the original password and a temp. one

    3. How will passwords be set?

    I don't know the specifics yet. That's what I'm tryng to figure out

    4. Will the password expire and change after a period of time?

    Yes.

  6. #6

    Re: is this app idea possible?

    That's a pretty reasonable set of requirements. Assuming you have a secure PC that can run this program on a schedule, or whenever you want it to run, it shouldn't be too difficult to work out the specifics.

    I imagine your university has a Web page that you go to in a browser to change your password. Ideally, all you need to do is look at the source of that page and see where and how it sends the data, then create a program that does the same thing the browser does, but automatically. You'll almost certainly want to use HTTPS, which does make it a little more complicated, but not too much. You'll need some background in HTML and a basic understanding of HTTP(S), plus whatever language you decide to use.

    Perl is my go-to language for... well, most things, really, so I'd probably look into doing it with the WWW::Mechanize module (which I've never used before, so I could be going down the wrong track entirely, but it's a place to start).

    One thing you could do is use your "old" password as a base password, and add one or two characters to it to create a new, "unique" but still easily remembered password. Like if your current password is foobar2700, you could have your app generate passwords like foobar2700_aQ and foobar2700_3p. You could even have it text the new ending (aQ or 3p or whatever) to your phone whenever it changes, so you can always know the password without ever divulging the whole thing. (That last depends on your cell carrier.) That saves you the trouble of remembering a whole new password every time it gets "reset".

  7. #7
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: is this app idea possible?

    Also bear in mind that it is probably against your University's network terms and conditions to let anyone else use your account.

    If it is then I wouldn't even think about trying this out as the repercussions could be serious.

    The first thing you should do is check with IT support at your University, they may suggest a simple solution such as actually transferring your balance to a different account.

    As to your original question if you can't currently reuse an old password then there is no way of getting round this on your end. You would be able to write a program that changed your password to a temporary one for a certain amount of time before changing it again, but you still wouldn't be able to change your password back to one that had already been used.
    Last edited by Cheesemill; February 9th, 2013 at 03:24 PM.
    Cheesemill

  8. #8
    Join Date
    Mar 2010
    Location
    London
    Beans
    924

    Re: is this app idea possible?

    Maybe your friends should just be more careful with their data?

    I agree with Cheesemill that this is probably against your University's rules and not worth the trouble.
    - "Make me a coffee..."
    - "No"
    - "sudo make me a coffee"
    - "OK"

  9. #9
    Join Date
    Feb 2008
    Beans
    Hidden!

    Re: is this app idea possible?

    Easy answer, keep your password.
    What's a landing but a take off in reverse?

  10. #10
    Join Date
    Sep 2011
    Location
    South Africa
    Beans
    165
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: is this app idea possible?

    Quote Originally Posted by Cheesemill View Post
    Also bear in mind that it is probably against your University's network terms and conditions to let anyone else use your account.

    If it is then I wouldn't even think about trying this out as the repercussions could be serious.

    The first thing you should do is check with IT support at your University, they may suggest a simple solution such as actually transferring your balance to a different account.

    As to your original question if you can't currently reuse an old password then there is no way of getting round this on your end. You would be able to write a program that changed your password to a temporary one for a certain amount of time before changing it again, but you still wouldn't be able to change your password back to one that had already been used.
    I contacted the IT people regarding this matter. I'm waiting for their response.

    Are you sayin' there's no way of creating an additional password to an account?
    I don't want to write a script that will basically change my password and change it back after a period of time.

    I want to create an additional temporary password as that will not require me to know the temp. password to access my account during the period where the temp. password is valid.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •