User Tools

Site Tools


root

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
root [2015/12/28 02:59] adminroot [2015/12/28 03:18] (current) admin
Line 4: Line 4:
 Well blow me down, I lost the sources. Not on my backups. Not in cvs. What the heck had I done with it? No good googling - 'root' is just too general a name. Well blow me down, I lost the sources. Not on my backups. Not in cvs. What the heck had I done with it? No good googling - 'root' is just too general a name.
                  
-So I re-wrote it from scratch and (apologies to the original author), its a darn sight better now (it even evaluates its arguments correctly if they contain spaces, which the old 'root' didn't). I also got it to add ''/sbin /usr/sbin'' and ''/usr/local/sbin'' to ''PATH' while I was at it, and allowed root to run it themselves. So now, it's just awesome!+So I re-wrote it from scratch and (apologies to the original author), its a darn sight better now (it even evaluates its arguments correctly if they contain spaces, which the old 'root' didn't). I also got it to add ''/sbin /usr/sbin'' and ''/usr/local/sbin'' to 'PATH' while I was at it, and allowed root to run it themselves. So now, it's just awesome!
  
-Why not **ssh**(1)I hear you say. Well, this is much simpler to administer and generally less picky. Of course, it's most likely less secure, so if you're vulnerable, bone up on **ssh**(1).+Why not **sudo**(1)I hear you say. Well, this is much simpler to administer and generally less picky. Of course, it's most likely less secure, so if you're vulnerable, bone up on **sudo**(1).
                  
 Here it is. To compile just do this as root: Here it is. To compile just do this as root:
-        +
   cc -o root root.c   cc -o root root.c
   chown root root   chown root root
root.txt · Last modified: 2015/12/28 03:18 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki