Results 1 to 5 of 5

Thread: [SOLVED] How to set short password for user (5yr old son)

  1. #1
    Join Date
    Apr 2006
    Beans
    14

    [SOLVED] How to set short password for user (5yr old son)

    Hello, after upgrade from drake to hardy and some tweaking its seems that whole family can switch to the new system, but there are still few minor things left... like default password policy.

    I had separate accounts for me (the master and maintainer , my wife and my kids. I need to set short plain password for my sons, just few chars to teach them good habits. 6+ chars is too much for them. How I can change default hardy behavior?

    Thank you

  2. #2
    Join Date
    Apr 2006
    Beans
    14

    Re: How to set short password for user (5yr old son)

    solved. just better search through this forum revealed that:

    edit in file: /etc/pam.d/common-password

    line: password required pam_unix.so nullok obscure md5

    to: password required pam_unix.so nullok min=3 md5

    is what i need.

  3. #3
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: How to set short password for user (5yr old son)

    you can set a non secure password, as root:
    Code:
    sudo passwd username
    changing(system wide) the lenght of the password is not secure.
    Last edited by sisco311; October 7th, 2008 at 11:11 PM.

  4. #4
    Join Date
    Apr 2006
    Beans
    14

    Re: How to set short password for user (5yr old son)

    thank you for advice. any risk, if only my account is in admin group? for my sons is possibility to change their own password fairly important .-)

  5. #5
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: How to set short password for user (5yr old son)

    in your case the risks are negligible.
    you can read more about security here

    EDIT:
    Please mark the thread solved by selecting
    Mark this thread as solved from the Thread Tools.
    Last edited by sisco311; October 7th, 2008 at 11:41 PM.

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
  •