iSSH - 5/5

With all the apps that I have downloaded for the iPad and iPhone, there are very, very few that truly stand out in being able to do exactly what I need, with no fuss, no errors, and no trouble.  iSSH(iTunes Link, Universal Application, $9.99) is one of those applications.  With an extremely simple, yet intuitive interface, it allows you to access a server via SSH (or even VNC over SSH!) while on the go or when you need to restart a service or even the whole box and you aren’t near a computer or (heaven forbid) a dedicated internet connection and using a 3G connection.

iSSH Login Screen

The Login Screen to the iSSH application

iSSH, in all respects, is a very basic app. It’s not flashy, it’s not glamorous, and it’s certainly not about to blow you away with amazing graphics – but, then again, it wouldn’t do it’s job very well if it were overloaded with all of the new shiny-buttony things that developers seem to think will make their app amazing these days.  Sporting the ability to store multiple connection profiles organized either singly or within folders, and allowing you to log into a server with one tap, it gets you to where you need to be rapidly and without hesitation – there is no noticeable lag when using the app (except for the delay when connecting to the server, of course).  Each connection includes a convenient indicator light to let you know it’s online status, and has the option of storing the username and password combination in it’s configuration as well, which, in most cases would be incredibly insecure.  iSSH, however, provides the ability to lock the entire application out with a four digit passcode, which might not seem like much, but if your iPad is protected by a passcode (with a 10-try lockout, no less) it would be rather difficult for any would-be ‘hacker’ to gain access to the server information in any respect.

(more…)

Tagged with:
 

If you, like me, set up your Bugzilla install based on IP initially (because you didn’t have the domain ready or whatever), and then you moved the Bugzilla box, either physically or electronically – either way changing your IP address – you might notice that your bugzilla only lets you go to the front page before rerouting you into blue hell somewhere – or nowhere at all.

This is because the configuration of Bugzilla is based off of a customizable URLbase (for security or some other important reason that I care too little about to follow up on) and if that URLbase is an IP address, such as http://123.456.789.100/bugzilla (No, that link doesn’t work.  Stop clicking it.), and your box is now located at, say, 987.654.321.001 (That’s not a real IP either.  Don’t bother trying.), you’ll need to change this URLbase – either to your new IP address, or – maybe you’d like to show some initiative (I know I didn’t!) – even an actual URL!  The only problem is…  that setting is in the administration area, and you can’t get there unless your URLbase is correct.  Damn those Catch-22’s.

Logically, this means we need to hand-edit the configuration file.  Unfortunately, it isn’t exactly labeled “configuration_files_VIM_me_to_fix_URLbase_problems.conf.”  Fortunately, I know where the file is.  Unfortunately, I’m no longer in a sharing mood.   Fortunately, I’m joking. Unfor….  Ok, I’ll stop.  Just please, please put down the gun…

Alright – you calm and relaxed again?  Good.  Alright – so, open up your Terminal Application (whichever that may be for your particular flavor of *Nix), and get yourself to the bugzilla root.  (Mine, for example, is in /var/www/bugzilla/)  Once you’ve gotten there, the rest is exceedingly easy.  navigate to the folder “data” and Vim (or vi, or kate or whatever) the file params.  You shouldn’t even need to sudo it.  Inside, you will find an actual alphabetical list of all the bugzilla parameters!  How amazing is that?  Page down to the U’s, find urlbase, and change it accordingly.  :wq (or…  well, you should know how to save and quit your favorite text editor) and simply log into your bugzilla – problem solved!

I’ll actually answer questions you might have on this one.  Or on bugz in general, should i know the answer, so feel free to ask.

Tagged with:
 

Remember those of you who found this site purely by accident – this site is mostly for my own use.

That said – here for my reference – the Bash commands that I end up using most often with the php exec(); command or in the shell – here in case I forget them… again. (I can remember what everyone ate at my last job interview, yet I have trouble remembering simple shell commands… odd.)

Use sudo as needed!
(more…)

Tagged with:
 

The other day a good friend of mine asked me what the number equivalent of drwxr-xrwx was.

Most people who are up to their arms in Bash everyday know how to compute this – but for everyone else the Terminal App in most Debian/BSD based operating systems display the permissions in alpha – yet kind of require that you change the permissions using number notation.

To compute this, it’s actually really simple – so long as you understand binary. 

Each subset of three letters can be assigned a binary value – 4, 2, 1.  For Example:

rwx r-x rwx
111 101 111
421 401 421

Then, computing in standard binary fashion, compute the  value, in this case, 4+2+1 = 7, 4+0+1 = 5, 4+2+1 = 7.

Put these all together, add the chmod command (and, in some cases the all too awesome sudo) and we get:

$ sudo chmod 757 filename.txt

Any questions? =)

Tagged with:
 
Pro Palma Deus Unus