Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

False Passwords Void / Method to Disable Your Account

by Co-Rion (Monk)
on Sep 30, 2009 at 19:58 UTC ( #798436=monkdiscuss: print w/replies, xml ) Need Help??

I've just implemented the changes that are necessary to disable your account on this website, should you choose to do so. From now, if your password is set to a false value, you won't be able to log in anymore and your account will display as having been disabled.

A scan of the database showed that no current users of the site will be affected, so the change is active immediately.

  • Comment on False Passwords Void / Method to Disable Your Account

Replies are listed 'Best First'.
Re: False Passwords Void / Method to Disable Your Account
by bv (Friar) on Sep 30, 2009 at 21:56 UTC

    Is there a confirmation from the change password node?

    Also, are there any values but "0" that will work for this? Blank shouldn't work, since the password fields get submitted as blank if you change anything but your password on your profile.

    print pack("A25",pack("V*",map{1919242272+$_}(34481450,-49737472,6228,0,-285028276,6979,-1380265972)))
Re: False Passwords Void / Method to Disable Your Account
by Limbic~Region (Chancellor) on Oct 01, 2009 at 16:56 UTC
    What happens to a user's real name and email address when they disable their account? I assume this is in response to the break in, in which users raised larger concerns about their information after they abandoned the site than just accessing their account.

    Cheers - L~R

      I assume that the users locking their account will have erased their email address.

      I think an appropriate metaphor to setting your password to "0" is "locking up the house and throwing away the key".

        Is this just a stop-gap to a better solution in the future? It seems to me that the long term the goal should be to create a "Disable" button that erases that users real name, email address, and password. And maybe that users home node for good measure?

        Elda Taluta; Sarks Sark; Ark Arks

Re: False Passwords Void / Method to Disable Your Account
by Anonymous Monk on Sep 30, 2009 at 20:14 UTC
    Note: Using any of these for your password is not recommended.

      Why? They are no more false than "sd;kfdfs3", and "sd;kfdfs3" is just as false as them when treated as a number. Are you saying I shouldn't use something like "sd;kfdfs3" either?

      $ perl -le' print "s:", "$ARGV[0]" ? "true" : "false"; print "n:", 0+$ARGV[0] ? "true" : "false"; ' 0.0 s:true n:false $ perl -le' print "s:", "$ARGV[0]" ? "true" : "false"; print "n:", 0+$ARGV[0] ? "true" : "false"; ' 'sd;kfdfs3' s:true n:false

      Update: Added code.

        Great. Now I have to go change my password. Again. Thanks, ikegami.


        They're not false, and they are very weak passwords.

        That's a combination that will let random people into your account.
Re: False Passwords Void / Method to Disable Your Account
by Zen (Deacon) on Oct 20, 2009 at 13:33 UTC
    Still wondering where the button is.

      I give you a link to your personal Perlmonks Account Disable Page. You get to choose there what information remains and what information gets deleted. You also get to enter the text that will be displayed during your indeterminate leave of absence.

      The button is at the bottom of the page, labeled "Stumbit", as is a Monastery tradition.

      As a precautionary measure, to permanently disable your account, we require you to enter a "security code" into the field labeled "password". The current security code is 0.

        Clicked the link, and then stumbit after I removed info with the 0 code..I'm still here... :/
        Mmmmmmmmmmmmmmm... That's good snark.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://798436]
Approved by toolic
Front-paged by Arunbear
[stevieb]: it's a reminder to re-inforce it :P
[atcroft]: james28909: That particular questions was a bit of trick, actually (depending on the country you are in). More interesting is, if you are trying to subtract from an epoch time, for instance, you might have to consider when/if DST occurs for a location,
[atcroft]: because you may have to adjust the number of seconds you change from an epoch from 86400 (not to mention leap seconds)....
[atcroft]: james28909: Although if your program is using a database, you might be able to "pass the buck" to the database and ask it to do the date change for you....

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2017-04-29 04:40 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (531 votes). Check out past polls.