[WebDNA] sudo and shell

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105155
interpreted = N
texte = Hi all I'm trying to execute a shell command like the following in WebDNA: [shell] rm -r /Library/PodcastProducer/Shared/Content/[the_dir].prb = [/shell] The ownership of the directory is=20 podcastxgrid_F5C4DD....... : _pcastserver (775) Is it possible to sudo within the shell command?=20 Of course _www is not in the sudoers list ... I tried: [shell]/bin/rm -r = /Library/PodcastProducer/Shared/Content/[the_dir].prb[/shell] [shell]sudo /bin/rm -r = /Library/PodcastProducer/Shared/Content/[the_dir].prb[/shell] ...=20 the second one resulting in the error: _www : 3 incorrect password attempts ; TTY=3Dunknown ; = PWD=3D/Library/WebServer/Documents/podcast_webmanager ; USER=3Droot ; = COMMAND=3D/bin/rm -r = /Library/PodcastProducer/Shared/Content/2010-03-31/3B74EFFD-27D6-4F5F-9460= -1DA5D360C7B5.prb I'm on OSX Server 10.6.3, on the way to connect our CMS to = PodcastProducer 2. What's still missing is the feature to delete = unwanted podcasts. Thierry= Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] sudo and shell (Donovan Brooke 2010)
  2. Re: [WebDNA] sudo and shell (Thierry Almy 2010)
  3. Re: [WebDNA] sudo and shell (Donovan Brooke 2010)
  4. Re: [WebDNA] sudo and shell (Thierry Almy 2010)
  5. Re: [WebDNA] sudo and shell (Donovan Brooke 2010)
  6. Re: [WebDNA] sudo and shell (Thierry Almy 2010)
  7. Re: [WebDNA] sudo and shell (Thierry Almy 2010)
  8. Re: [WebDNA] sudo and shell (Thierry Almy 2010)
  9. Re: [WebDNA] sudo and shell (Bob Minor 2010)
  10. Re: [WebDNA] sudo and shell (Donovan Brooke 2010)
  11. [WebDNA] sudo and shell (Thierry Almy 2010)
Hi all I'm trying to execute a shell command like the following in WebDNA: [shell] rm -r /Library/PodcastProducer/Shared/Content/[the_dir].prb = [/shell] The ownership of the directory is=20 podcastxgrid_F5C4DD....... : _pcastserver (775) Is it possible to sudo within the shell command?=20 Of course _www is not in the sudoers list ... I tried: [shell]/bin/rm -r = /Library/PodcastProducer/Shared/Content/[the_dir].prb[/shell] [shell]sudo /bin/rm -r = /Library/PodcastProducer/Shared/Content/[the_dir].prb[/shell] ...=20 the second one resulting in the error: _www : 3 incorrect password attempts ; TTY=3Dunknown ; = PWD=3D/Library/WebServer/Documents/podcast_webmanager ; USER=3Droot ; = COMMAND=3D/bin/rm -r = /Library/PodcastProducer/Shared/Content/2010-03-31/3B74EFFD-27D6-4F5F-9460= -1DA5D360C7B5.prb I'm on OSX Server 10.6.3, on the way to connect our CMS to = PodcastProducer 2. What's still missing is the feature to delete = unwanted podcasts. Thierry= Thierry Almy

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Thanks ! (1997) encrypt/decrypt failing (2000) Tab Charactor (1997) Trouble with formula.db (1997) upgrading (1997) Include a big block of text (1997) WebCat and WebTV (1997) Re:Copyright ? (1997) WC 2.0 frames feature (1997) Problems with ^ could be solved with [REPLACE CHARACTERS] (1997) Hiding the URL(was Cart ID Duplication) (2001) $Replace with [founditems] (1997) Emailer on NT CAN'T handle large email files (1997) vs (1997) Searchable WebCat (etc.) Docs ? (1997) RealAudio .ram files (2000) Changes to the List (1997) F3 crashing server (1997) Locking up with WebCatalog... (1997) test (2001)