Keeping user and administrative user passwords in sync

Best practice says that your everyday user account should not be an administrative user. The solution? Creating an alternate administrative user and then using those credentials when needed. Deploying in such a scenario to many computers can be confusing for users – in particular having to remember an alternate username and password combination that often will not fall under traditional password age policies. To this end, linking a local administrator account to a users password can simplify password management for users, while maintaining password age policies. Creating a symlink to the localadmin users password hash will make the regular users password the same as a local administrators.

First you need to know both the regular and local administrators GUID as the password hash file is the user GUID. In this example our local administrator account is “localadmin”.

dscl . -read /Users/localadmin GeneratedUID

Repeat the command replacing localadmin with the regular username.

You will need to remove the existing localadmin password hash. In this example localadmin’s GUID is “ABAE7944-FBDD-4FA6-8419-B24AC0293B0D”

sudo rm -R /var/db/shadow/hash/ABAE7944-FBDD-4FA6-8419-B24AC0293B0D

Finally put a symlink in place that points from the regular users password hash to localadmin’s hash. In this example the regular user password hash is “513B539B-7DB2-48C3-93B8-0C33C7B39722″.

sudo ln -s /var/db/shadow/hash/513B539B-7DB2-48C3-93B8-0C33C7B39722 /var/db/shadow/hash/ABAE7944-FBDD-4FA6-8419-B24AC0293B0D

In other words:  ln -s /var/db/shadow/hash/regular_user_GUID /var/db/shadow/hash/localadmin_GUID

63 Responses to “Keeping user and administrative user passwords in sync”

  1. Alexander6 Says:

    buy@generic.VIAGRA” rel=”nofollow”>…

    Need cheap generic VIAGRA?…

  2. Alexander7 Says:

    buy@generic.LEVITRA” rel=”nofollow”>…

    Need cheap generic LEVITRA?…

  3. STEVEN Says:

    Buy@Discount.Coral.Calcium” rel=”nofollow”>.

    Buyit now…

  4. ENRIQUE Says:

    Buy@Abana.Online” rel=”nofollow”>.

    Buynow it…

  5. TERRENCE Says:

    Order@Cheap.Coral.Calcium” rel=”nofollow”>..

    Buyit now…

  6. BRANDON Says:

    Order@Coral.Calcium.Online” rel=”nofollow”>..

    Buyno prescription…

  7. EDUARDO Says:

    Order@Abana.Online” rel=”nofollow”>..

    Buygeneric pills…

  8. DUSTIN Says:

    Purchase@Generic.Abilify” rel=”nofollow”>..

    Buygeneric drugs…

  9. GARY Says:

    Order@Discount.Acai” rel=”nofollow”>..

    Buywithout prescription…

  10. FELIX Says:

    Purchase@Cheap.Acai” rel=”nofollow”>…

    Buyit now…

  11. BYRON Says:

    Order@Cheap.Energy.Boost” rel=”nofollow”>.…

    Buynow it…

  12. BILLY Says:

    Order@Discount.Accupril” rel=”nofollow”>.…

    Buygeneric drugs…

  13. NATHAN Says:

    Order@Accutane.Online” rel=”nofollow”>.…

    Buynow it…

  14. BOB Says:

    Buy@Accutane.Without.Prescription” rel=”nofollow”>.…

    Buygeneric drugs…

  15. RUBEN Says:

    Buy@Aciphex.Without.Prescription” rel=”nofollow”>.…

    Buygeneric meds…

  16. CLIFTON Says:

    Cheap@Actoplus.Met.Online” rel=”nofollow”>..

    Buygeneric meds qmo…

  17. DARYL Says:

    Generic@Actos.15mg.30mg.Without.Prescription” rel=”nofollow”>..

    Buygeneric drugs krg…

  18. EVERETT Says:

    Purchase@Abilify.Without.Prescription” rel=”nofollow”>..

    Buygeneric meds abx…

  19. MELVIN Says:

    Purchase@Generic.Abilify.5mg.10mg.15mg.20mg.30mg” rel=”nofollow”>..

    Buywithout prescription yen…

  20. JOEL Says:

    Order@Generic.Acai” rel=”nofollow”>..

    Buyno prescription wkp…

  21. GLENN Says:

    Cheap@Generic.Acai.500mg” rel=”nofollow”>..

    Buyno prescription tao…

  22. MARION Says:

    Purchase@Discount.Accutane” rel=”nofollow”>.

    Buygeneric drugs mby…

  23. JOHNNY Says:

    Buy@Generic.Accutane” rel=”nofollow”>…

    Buygeneric meds svb…

  24. LEWIS Says:

    Purchase@Generic.Accutane” rel=”nofollow”>.

    Buygeneric drugs axm…

  25. LEROY Says:

    Cheap@Aciphex.Without.Prescription” rel=”nofollow”>…

    Buyit now sge…

  26. JEREMIAH Says:

    Purchase@Discount.Acomplia” rel=”nofollow”>.

    Buynow tqa…

  27. AARON Says:

    Order@Actonel.Without.Prescription” rel=”nofollow”>..

    Buyno prescription jwi…

  28. KARL Says:

    Buy@Discount.Advair” rel=”nofollow”>..

    Buydrugs without prescription faj…

  29. ALLEN Says:

    Order@Discount.Albenza” rel=”nofollow”>.

    Buynow it lmg…

  30. REX Says:

    abilify@and.sleep.issues” rel=”nofollow”>..

    Buydrugs without prescription…

  31. JOHNNY Says:

    aloe@vera.juice.for.sale” rel=”nofollow”>..

    Buyit now…

  32. BOB Says:

    side@effects.of.aricept” rel=”nofollow”>..

    Buyit now…

  33. RONALD Says:

    medieval armour

    Buy_generic drugs…

  34. EUGENE Says:

    urinary tract infection canine

    Buy_generic pills…

  35. DEREK Says:

    behavior symptoms of prescription drug addiction

    Buy_generic meds…

  36. ALAN Says:

    honey for diabetes

    Buy_generic meds…

  37. MATT Says:

    warfarin sod

    Buy_drugs without prescription…

  38. EDWIN Says:

    verapamil side effects

    Buy_drugs without prescription…

  39. MILTON Says:

    death rate of hiv

    Buy_it now…

  40. ZACHARY Says:

    trigger point injections with lidocaine

    Buy_without prescription…

  41. NATHAN Says:

    steroids and weight gain

    Buy_generic pills…

  42. KEN Says:

    adhd cant take stimulants adult

    Buy_it now…

  43. CODY Says:

    dehli meats during pregnancy

    Buy_now it…

  44. WALTER Says:

    nicotrol inhaler buy free sample oregon

    Buy_now…

  45. ALEX Says:

    imodium during pregnancy

    Buy_generic meds…

  46. WALLACE Says:

    diabetes popcorn

    Buy_generic pills…

  47. DOUG Says:

    allergy blood testing

    Buy_it now…

  48. MARION Says:

    atlanta zyprexa lawyers

    Buy_generic drugs…

  49. PETER Says:

    weight loss pa

    Buy_no prescription…

  50. ALEX Says:

    clinical pharmacists prescribe medication

    Buy_it now…

  51. GUY Says:

    resume clinical sas programmer

    Buy_generic meds…

  52. ALEJANDRO Says:

    breast cancer awareness wristband

    Buy_generic meds…

  53. TODD Says:

    healing lithium water in utah

    Buy_no prescription…

  54. WILLIAM Says:

    social skills training negative symptoms schizophrenia

    Buy_generic meds…

  55. LESLIE Says:

    drug testing passing short notice

    Buy_generic meds…

  56. BOBBY Says:

    overweight employee abuse

    Buy_generic drugs…

  57. ENRIQUE Says:

    liquid tylenol and dogs

    Buy_without prescription…

  58. LESTER Says:

    10 mg provera

    Buy_generic pills…

  59. IVAN Says:

    palpitations side effect homeo medications

    Buy_generic pills…

  60. DENNIS Says:

    john degan anna degan il

    Buy_drugs without prescription…

  61. CHARLES Says:

    food allergy and adenoids

    Buy_without prescription…

  62. TERRENCE Says:

    allergy testing and injections

    Buy_without prescription…

  63. VICTOR Says:

    esophagus 2009 jelsoft enterprises ltd

    Buy_now it…

Leave a Reply