Re: Setting System Time (stime())

vaqsf_at_ihklov.com
Date: 01/09/04


Date: Fri, 09 Jan 2004 02:33:20 GMT


|What's the difference between
| system("sudo date <date>");
|and
| system("suid_own_date <date>");
|
|???
|
|The checks have to be performed anyway before.

It is possible that you have not been as careful as sudo in doing all
the checks, and even so, sudo has a history of mistakes that had to be
corrected. So if somebody can see the code to your suid program and find
a mistake, they can make it do something you didn't expect.

Then again setting the date doesn't require that much checking.

-- 


Relevant Pages

  • Re: Y&R Asshley again
    ... "inadvertent" mistakes shouldn't happen out of sheer laziness. ... because there is SO much accumulated history to ... the writers count on this to some extent in deciding how far they can ...
    (rec.arts.tv.soaps.cbs)
  • Re: OT- So You Think We Should Not Be Fighting Terrorists
    ... dealing with the mess he left in North Korea to this very day. ... Because it is relatively recent and, since I was in it, I know the mistakes that were made. ... My comparison was totally relevant because Truman made major mistakes that we are still living with today, yet history has forgotten his mistakes and heaped praise on the ones he made that turned out better than Korea. ...
    (rec.outdoors.rv-travel)
  • Re: Boat/Ship engines/cooling system.
    ... It's how things don't repeat themselves. ... learn from history are condemmed to repeat it. ... in the sunshine, mistakes can happen, and these mistakes can overwhelm ... every safety system. ...
    (rec.autos.tech)
  • Re: sound volume issue
    ... >> I generally use sudo myself, but know it's not installed on all systems. ... >> I use su so infrequently I'd muffed the syntax. ... And we all learn from our mistakes. ... Which means if I make a goof like ...
    (Debian-User)
  • Re: "The Only Thing They Learn" -- does anyone else find it irritating?
    ... Someone else noted that often people do learn from recent history - ... of repeating the mistakes of the ancient Babylonians and others whose ... had lived through the horrors of the *first* World War. ...
    (rec.arts.sf.written)