[X-Unix] App launched by my crontab runs as root if Login Window!

Brian Medley bpm-list-osx-unix at 4321.tv
Sun Jun 5 22:12:23 PDT 2005


On Fri, Jun 03, 2005 at 07:34:26PM -0400, ~flipper wrote:

> So, with 'root' disabled. (a misnomer, since root is not enabled in 
> the first place, having no password, no shell default, no console 
> access, etc)...
> 
> try using sudo to cd your way into /private/var/root
> 
> let me know how you do.

cd is a shell builtin.  sudo has no way to run this as any user.

-- 
~`^`'~=-._.-=~'`^`'~=-._.-=~'^'~=-., \|/  (___)  \|/ _,.-=~'`^`
                                      @~./'O o`\.~@
      "Knowledge is Power"           /__( \___/ )__\  *PPPFFBT!*
         -- Francis Bacon               `\__`U_/'
 _.-=~'``'~=-._.-=~'``'~=-._.-=~'`^`'~= <____|'  ^^`'~=-.,__,.-=
~'^`'~=-._.-=~'`^`'~=-._.-=~'^'~=-.,__,.-==--^'~=-.,__,.-=~'`^`


More information about the X-Unix mailing list