AJKBOC
asked on
Can i modify uptime of machine?
Hello all,
I wanted to know if there is a way to modify a machine's uptime. For example when i issue the command #uptime on a solaris box, is it possible to get fake results? Question goes for any OS.
I wanted to know if there is a way to modify a machine's uptime. For example when i issue the command #uptime on a solaris box, is it possible to get fake results? Question goes for any OS.
Of course yes, everything if fakeable. These programs just look up a place where the OS wrote the start date of the system on power up. You can fake the uptime program by creating a new uptime command and overwriting the old one; the new one reads the information to be displayed from a file hidden somewhere. the user will never tell the difference
ASKER
i would need proof of that. i mean specific file, specific command.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
of course i did not mean for every OS on the planet! Your answer though is quite acceptable and you deserve the points.
Thanks
Thanks
I'd really like to know *why* you'd even want to do this.
ol' good time trial cracking?
ASKER
nop. online uptime contest maybe? :-)
But this won't make the 'jiffies' C command return a fake value.
Is this possible at all?
Is this possible at all?