[1] MLD-5.x / Systems / x86 Systeme (PC) / [MLD-5.5 testing] Hard Disk Sentinel Linux GUI
 

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD-5.5 testing] Hard Disk Sentinel Linux GUI
« on: July 06, 2021, 18:47:41 »


Hello,
I installed Hard Disk Sentinel on MLD but it asks for sudo password,
Do i have to install sudo and set a password for it or what i should do?

Best Regards.
« Last Edit: July 07, 2021, 01:03:05 by gr4vity »

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD-5.5 testing] Hard Disk Sentinel Linux GUI
« Reply #1 on: July 08, 2021, 00:25:48 »
Hi,
I used a hex editor and removed all sudo -S occurrences from HDSentinel_GUI (there r 5 of them).
Now when hdsentinel asks for sudo password just enter anything then click OK.
« Last Edit: July 08, 2021, 20:45:42 by gr4vity »

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20445
    • View Profile
    • ClausMuus.de
[MLD-5.5 testing] Hard Disk Sentinel Linux GUI
« Reply #2 on: July 08, 2021, 00:28:06 »
maybe it's a solution to add a script that calls sh with all parameters and name it /bin/sudo:
Code: [Select]
#!/bin/sh
sh *
A soft link is not possible since we use bussybox
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD-5.5 testing] Hard Disk Sentinel Linux GUI
« Reply #3 on: July 08, 2021, 00:47:49 »
Hi Claus,
I did the opposite, i removed sudo from HDSentinel_GUI binary file
Now it works, the app interface is not the best but i installed it to watch HDD temperature.
I also have to enable task bar to see the temperature icon.

Best Regards.
« Last Edit: July 08, 2021, 20:46:11 by gr4vity »

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
[MLD-5.5 testing] Hard Disk Sentinel Linux GUI
« Reply #4 on: July 08, 2021, 03:08:15 »
Use a hex editor - go to offset 3B205 then change 0F85 to 0F84
"Press OK to ignore and risk data corruption" will not be displayed anymore.

[1] MLD-5.x / Systems / x86 Systeme (PC) / [MLD-5.5 testing] Hard Disk Sentinel Linux GUI
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.