hwclock -
Hi,
Do you know how can I use hwclock as USER ? I tried to chmod +s hwclock but when I back to USER it wrote that only superuser can use this command. Since I am dealing with embedded RH-7 I need to use this command to make the CMOS clock the same as the clock determine by the command date. thanx, HTS. |
You should be able to set up sudo to let you run it as root.
|
unfortunately, my embedded linux doesn't have this sudo or at least I don't find it for some reason.
HTS |
You could set UID of the "hwclock" program to run as root.
Generally speaking, you shouldn't do this, but there isn't much security risk involved with users being able to set the BIOS clock, and (as far as I know) there aren't any vulnerabilities in that particular program. |
Sorry,
set UID of the "hwclock" program to run as root. Is it OK to ask HOW-TO? thanx, HTS |
All times are GMT -5. The time now is 03:01 AM. |