Announcement

Collapse
No announcement yet.

hdparm root access?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • hdparm root access?

    How come hdparm asks for the sudo password on each test run?

  • #2
    Originally posted by devius View Post
    How come hdparm asks for the sudo password on each test run?
    It doesn't.

    However, you need to run it as root because it does memory locking and also calls some priviledged ioctls. But it doesn't ask you for the root password. Unless your distro uses a modified hdparm which does that.

    Comment


    • #3
      Originally posted by RealNC View Post
      It doesn't.

      However, you need to run it as root because it does memory locking and also calls some priviledged ioctls. But it doesn't ask you for the root password. Unless your distro uses a modified hdparm which does that.
      PTS automatically prompts for the root password when running the hdparm benchmark since it knows ahead that it does for this test to run.
      Michael Larabel
      http://www.michaellarabel.com/

      Comment


      • #4
        Oops, I didn't notice the section this is posted in :-/ It looked like a question about hdparm in general.

        Comment

        Working...
        X