Article View: news.software.readers
Article #238656Re: [slrn] slrnpull not reading the NNTPSERVER variable....
From: W. Citoan
Date: Sat, 12 Dec 2009 13:41
Date: Sat, 12 Dec 2009 13:41
23 lines
2233 bytes
2233 bytes
andrew wrote: > On 2009-12-12, andrew <andrew@skamandros.invalid> wrote: > > > Despite specifying the NNTPSERVER variable in ~/.bashrc (which slrn > > itself reads well enough) slrnpull does not read the variable and the > > server needs to be specified on the commandline, as described in the > > wiki. > > Or more correctly it reads the variable as an ordinary user but not when > using sudo. That's not a slrnpull problem, but rather a sudo environment issue. I believe sudo only uses a small set of environment variables for security reasons. See http://www.gratisoft.us/sudo/man/sudo.html#environment Your best bet may be to have sudo call a wrapper script that sets the NNTPSERVER variable and starts slrnpull. - W. Citoan -- This is supposed to be a happy occasion. Let's not bicker and argue about who killed who. -- Monty Python
Technical Details
Message-ID:
<slrnhi77d3.6eg.wcitoan@wcitoan-via.eternal-september.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!news.eternal-september.org!not-for-mailReferences:
<20091212185514.748@skamandros.andrews-corner.org> <20091212214649.956@skamandros.andrews-corner.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnhi77d3.6eg.wcitoan@wcitoan-via.eternal-september.org> Subject: Re: [slrn] slrnpull not reading the NNTPSERVER variable.... Date: Sat, 12 Dec 2009 13:41:59 +0000 From: "W. Citoan" <wcitoan@NOSPAM-yahoo.com> References: <20091212185514.748@skamandros.andrews-corner.org> <20091212214649.956@skamandros.andrews-corner.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!news.eternal-september.org!not-for-mail Newsgroups: news.software.readers Organization: A noiseless patient Spider Lines: 23 X-Trace: news.eternal-september.org U2FsdGVkX18CssWHQpw8ZkyWo7Sojy0abH5BHgAlgTDRhIx1L4sl+vp/f1VUayO+sl6vOzWpX8NtxntY/vS9kHSn2hYEPg3pHl0mh2dnHQphCf/cME9cU4DKTwYHfnrIFhqMAJuhloK98t8of2MpMyCw3HnrXfbm X-Complaints-To: abuse@eternal-september.org NNTP-Posting-Date: Sat, 12 Dec 2009 13:41:59 +0000 (UTC) X-Antivirus-Status: Clean X-Auth-Sender: U2FsdGVkX1/g1AkcPxIShtdmzzUTMqtG+G0LwC5v6Ek= X-Antivirus: avast! (VPS 091212-0, 12/12/2009), Outbound message Cancel-Lock: sha1:ddlOk2N9QyWH7vtJGyq4g3sCrn4= User-Agent: slrn/0.9.8.1 (Win32)