Re: Shell traceroute
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37286
interpreted = N
texte = You can configure sudo so it does not request a passwordusually, you find the information in the sudoers - file (on my systemthat was placed in /usr/local/etc, but this was on a Solaris Machine. Soif you don't know where to find it, try find / -name sudoers)if you need help on how to configure the file, try man sudoers Also: Make sure that you edit the sudoers file with the visudocommand, and not with the normal vi. I don't know why but it says thatin the docs!Here is the line that I had to put in my sudoers-file to grant access tothe webuser to a certain script:webuser
ALL=NOPASSWD:/export/webroot/admin/rbt.shin your case this would bewwwALL=NOPASSWD:/usr/sbin/traceroutethe of course needs to be replaced by a real tabulator or space(s)Ciao,PeterOn Wed, 18 Jul 2001 00:51:57 Aaron Lynch wrote:> How would that work?> > [shell]sudo traceroute somedomain.com[/shell]> > At which point the shell wants a password.> > > > On 7/18/01 12:36 AM, The Defendant Peter Werno > Confessed:> > > I would recommend using sudo. You can configure exactly what is> allow> > to which user and don't need to hardcode any passwords!> > > > I had a similar problem and found sudo to be the best solution to> it!> > > > Ciao,> > > > Peter> > > > On Tue, 17 Jul 2001 23:20:18> > Nitai @ ComputerOil wrote:> >> On 7/17/01 11:16 PM, Aaron Lynch wrote:> >> > >>> The user www can't traceroute> >> > >> True.> >> > >>> I never really figured this one out myself, but I'm pretty sure> >> that's why> >> > >> Le explained it to me that the shell access within WebCat can only> be> >> run as> >> the user you run WebCat in. I think for traceroute you will need> to> >> be in> >> the wheel group or even root.> >> > >> Nitai> >> > >>> > >>> On 7/17/01 2:14 PM, The Defendant Bob Minor > >> Confessed:> >>> > >>>> Any reason why a traceroute wouldn't work inside the shell> >> command? I get> >> no> >>>> display.> >>>> > >>>> Robert Minor> > > -- Aaron Lynch> System Administrator> NineWire Digital Solutions || http://ninewire.com> > I drive way too fast to worry about cholesterol.> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
You can configure sudo so it does not request a passwordusually, you find the information in the sudoers - file (on my systemthat was placed in /usr/local/etc, but this was on a Solaris Machine. Soif you don't know where to find it, try find / -name sudoers)if you need help on how to configure the file, try man sudoers Also: Make sure that you edit the sudoers file with the visudocommand, and not with the normal vi. I don't know why but it says thatin the docs!Here is the line that I had to put in my sudoers-file to grant access tothe webuser to a certain script:webuserALL=NOPASSWD:/export/webroot/admin/rbt.shin your case this would bewwwALL=NOPASSWD:/usr/sbin/traceroutethe of course needs to be replaced by a real tabulator or space(s)Ciao,PeterOn Wed, 18 Jul 2001 00:51:57 Aaron Lynch wrote:> How would that work?> > [shell]sudo traceroute somedomain.com[/shell]> > At which point the shell wants a password.> > > > On 7/18/01 12:36 AM, The Defendant Peter Werno > Confessed:> > > I would recommend using sudo. You can configure exactly what is> allow> > to which user and don't need to hardcode any passwords!> > > > I had a similar problem and found sudo to be the best solution to> it!> > > > Ciao,> > > > Peter> > > > On Tue, 17 Jul 2001 23:20:18> > Nitai @ ComputerOil wrote:> >> On 7/17/01 11:16 PM, Aaron Lynch wrote:> >> > >>> The user www can't traceroute> >> > >> True.> >> > >>> I never really figured this one out myself, but I'm pretty sure> >> that's why> >> > >> Le explained it to me that the shell access within WebCat can only> be> >> run as> >> the user you run WebCat in. I think for traceroute you will need> to> >> be in> >> the wheel group or even root.> >> > >> Nitai> >> > >>> > >>> On 7/17/01 2:14 PM, The Defendant Bob Minor > >> Confessed:> >>> > >>>> Any reason why a traceroute wouldn't work inside the shell> >> command? I get> >> no> >>>> display.> >>>> > >>>> Robert Minor> > > -- Aaron Lynch> System Administrator> NineWire Digital Solutions || http://ninewire.com> > I drive way too fast to worry about cholesterol.> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Peter Werno
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:
Date Range works (1997)
Need help with search title (1998)
Cold Fusion Buster (1997)
[WebDNA] Installed but can't configure (2016)
RE: strip .0 off off IPaddress (1999)
Emailer (1997)
Multi-Row Tables from a search. (1997)
math/text variable limits per page (2001)
Truncated numbers (2000)
[OT] Domain Management (2003)
Nesting WebDNA in JavaScript (2003)
Encrypting the URL Query String (2003)
Sense/Disallow HTML tags during $Append (1997)
Secure Server (1997)
Filemaker Pro Template for Orders (1999)
Help formatting search results w/ table (1997)
Webmerch Error (1998)
WebCat2final1 crashes (1997)
WebSite and *NO* Authentication Dialog Box!!? (1998)
Calculating multiple shipping... (1997)