how to use hdparm without sudo password

  • Ramachandra HM

    Ramachandra HM - 2012-09-03

    Is there a way to read sudo pass word  (for example from a file ) for executing a command as below
    hdparm -I /dev/sd?|grep -E “Number|/dev”
    or simply is it possible to call hdparm without sudo / password

  • Yegor Yefremov

    Yegor Yefremov - 2012-10-09

    Search for sudoers You can configure sudo to not ask the password for "sudo hdparm"


Log in to post a comment.