Article View: news.software.readers
Article #109567Re: [slrn] Getting It To Run At All [OT]
From: G. Wolfe Woodbury
Date: Fri, 13 Sep 2002 12:47
Date: Fri, 13 Sep 2002 12:47
72 lines
4685 bytes
4685 bytes
Blinky the Shark <no.spam@box.invalid> shaped electrons to say: > Quick - I hope - digression: > > Hmmm. My password itself doesn't appear to be in that file, which > makes sense (to the newb) because its in a public location. Now, I > certainly don't know what I *do* see in there <g>, but if "how it gets > that password from there" can be explained for such a newb, I'd be > interested. man 5 passwd will describe the contents. Look also for information regarding the shadow file. The shadow file is readable only by root (and thus login) and contains the actual information about passwords. Note that passwords are stored as a cryptographic hash of the users typed password, and are compared in hashed form. Once you have set the password it never appears in system files in cleartext form. For completeness: it can possibly appear in the swap partition if there is a paging event between the entry of the password and the encrypting thereof. The routines used take care to destroy and overwrite the cleartext as sone as the encryption is done. >> Now you may have more than you wanted to know. > > Actually, I do *pretty much* follow what you've laid out, and I very > much appreciate it. I wanted to say that first, so I've broken out of > my normal interposting style (with the one exception you've seen). And > I'm not snipping, despite netiquette understanding, because we're going > back up there, now <g>.... > > From that intro, and the matter most directly at hand (getting an > environment variable - NNTPSERVER - set without having to enter it from > the command line prior to running slrn), it looks like one of the the > /.bash* files would be where I'd go, as the preceeding stuff apparently > isn't user-specific (access via pwd aside). And somebody mentioned two > of them, earlier. Now, not knowing much about this, but having fiddled > with the NNTPSERVER stuff that works at the command line, I tried > sticking in a couple versions of the commands that bash suggests when I > run slrn (and at least one of them does work from the prompt). Nothing > that I know of broke, but I was still prompted to set that variable > upon trying to run slrn. The example (I think it was a PATH setting) I > saw appeared to be a two-part process (as did one of the command line > settings): declare it, then export it (Hah! Like I have any idea where > it 1) is, or 2) is being exported to. <g>). That's what I emulated. A > NNTPSERVER='foo' line and an "export NNTPSERVER" line. I sense I'm in > the ballpark, but I can't quite see who's on first. The thing to note is that the .bashrc file is only read at the startup of any particular shell process. Changes to the file will not result in changes to the environment until you quit your shell (logout) and login again. ggw:~ $ fgrep NNTPSERVER .bash* .bash_profile:NNTPSERVER=news.verizon.net .bash_profile:export NNTPSERVER .bashrc:NNTPSERVER=news.verizon.net .bashrc:export NNTPSERVER I have it in both places, a bit of overkill. Another thing to understand is that the shell invokes the slrn binary directly, and there is no processing of the .bash* files. The long description of the .bash* files only applies to the startup of /bin/bash -- Gregory G. "Wolfe" Woodbury `-_-' Owner/Admin: wolves.durham.nc.us ggw at wolves.durham.nc.us U "The Line Eater is a boojum snark." Hug your wolf.
Technical Details
Message-ID:
<slrnao3nj2.o2f.ggw_@wolves.homeip.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc01.gnilink.net.POSTED!5552e703!not-for-mailReferences:
<slrnantp90.8s2.tim@vegeta.ath.cx> <slrnao0mar.np6.tim@vegeta.ath.cx> <7760280.40QTL0fHMe@blinkynews.invalid> <slrnao2igg.ik7.ggw_@wolves.homeip.net> <2958797.5XrB3nSB3S@blinkynews.invalid>Show Full Headers
Complete Article Headers
Message-ID: <slrnao3nj2.o2f.ggw_@wolves.homeip.net> Subject: Re: [slrn] Getting It To Run At All [OT] Date: Fri, 13 Sep 2002 12:47:44 GMT From: "G. Wolfe Woodbury" <ggw_@no_spam.wolves.durham.nc.us> References: <slrnantp90.8s2.tim@vegeta.ath.cx> <slrnao0mar.np6.tim@vegeta.ath.cx> <7760280.40QTL0fHMe@blinkynews.invalid> <slrnao2igg.ik7.ggw_@wolves.homeip.net> <2958797.5XrB3nSB3S@blinkynews.invalid> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc01.gnilink.net.POSTED!5552e703!not-for-mail Newsgroups: news.software.readers Organization: Wolves Den VI User-Agent: slrn/0.9.7.4 (Linux) Lines: 71 NNTP-Posting-Host: 4.64.249.178 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc01.gnilink.net 1031921264 4.64.249.178 (Fri, 13 Sep 2002 08:47:44 EDT) NNTP-Posting-Date: Fri, 13 Sep 2002 08:47:44 EDT