home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 1486 
 Bill McGarrity to Accession 
 Re: Bash file issues... 
 26 Jan 17 13:29:00 
 
Hiya Nick...

-=> Accession wrote to Bill McGarrity <=-

 Ac> On Wed Jan 25 2017 16:54:00, Bill McGarrity wrote to John Guillory:

 BM>  -> SBBSCTRL=/home/pi/sbbs/ctrl/sbbs.ini

 BM> This I orginally put in the script itself.  I have since removed the
 BM> sbbs.ini and it's still doing the same thing.

 Ac> And with or without sbbs.ini, the command is wrong without "export" at
 Ac> the beginning, just like you seemed to have put into your /etc/profile
 Ac> below..

 BM>  -> export SBBSCTRL=/home/pi/sbbs/ctrl
 BM>  -> export SBBSNODE=/home/pi/sbbs/node1

 BM> As stated above, I made the change in the script.  I also rechecked
 BM> the /etc/profile in root, the /home/pi/.profile and the
 BM> /home/pi/.bash_profile and added the lines you stated... still getting
 BM> SBBSCtrl enviorment variable not set. :(

 Ac> Maybe not enough changes in your script?

The issue was with "sudo".... I removed it and poof!!

 Ac> Adding it to .profile and .bash_profile is unnecessary. /etc/profile is
 Ac> system-wide, and anything starting with a period in your home directory
 Ac> is for that user only, and not system-wide.

Yes, it is added in the /etc/profile as you originally told me.  That's why I
was confused it wouldn't find it but as I said to echicken, removing sudo did
the trick!!

Thanks for all your help as usual!!


--

Bill

Telnet: tequilamockingbirdonline.net
Web: bbs.tequilamockingbirdonline.net:81
FTP: ftp.tequilamockingbirdonline.net:2121
IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
Radio: radio.tequilamockingbirdonline.net:8010/live


... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
--- MultiMail/Win32 v0.50
 * Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca