PDA

View Full Version : What do you have installed?


OOagent137
2003-07-31, 15:11 PM
On your server, what do you guys have installed?

Like, do you have Lynx? Do you have w3m? Maybe even irssi :)

What tools do you have? Monitoring or otherwise. I was just curious.

Oh yeah, and why do you have them?

Striker
2003-07-31, 15:19 PM
Heh, this sounds more like a "what tools do you use" instead of what's installed.

For me, basically...

wget ... quick d/l of files
lftp ... browse ftp's with cool shell-like features
sudo ... for when su root is too slow
nano ... for editing things like /usr/local/apache/conf/httpd.conf
hexedit ... for peeking into files that might contain binary stuff
vnc ... for remote X access
TCL ... for all my funny little TCL scripts
misc scripts ... for everything else

OOagent137
2003-07-31, 16:31 PM
sudo? How does it speed up using su?

nano, how is that better than VI? What features make you use it?

vnc, you can have remote X access!? That's cool.

TCL?? What's that?

Striker
2003-07-31, 17:27 PM
sudo is a program that can be used to give users access to root commands, either a specific command, or any command. You can also have the ability to not require a password.

On my system, I have a specific group that can use sudo without any password and can execute any command; thus, I can do $ sudo su - and gain root access without entering a password. Somewhat unsecure, but even so, someone would have to gain access to the group account, which is highly unlikely.
Get sudo from http://www.sudo.ws/sudo/
(sudo is probably already installed on all SB linux machines)

Nano is just a plain text editor and has some basic functions, like find/replace/etc. I hate VI and it's extreme amount of keystrokes required just to edit a single line in a config.
Get nano from http://www.nano-editor.org/

VNC is really handy to use, but may require a lot of bandwidth to use, especially if you tell it to use 16 or 24 bit color (mine is set to 8bit). Note that you must either download the precompiled binary, or have the X headers/includes installed. Also, of course, you'll need to install a window manager and have it properly installed for the user.
Get VNC from http://www.realvnc.com.

TCL is a scripting language which is very good for text manipulation. It is sorta famous for being the primary scripting language for Eggdrop (an IRC bot).
Get TCL/Tk from http://www.scriptics.com/

OOagent137
2003-07-31, 18:14 PM
DimX, what was that? I didn't quite follow how you print out all text in the bin. Sorry, I'm just not following :(

Striker
2003-07-31, 18:23 PM
the program strings will look through a binary file (like an executable) and pull out anything that looks like a word or phrase and print them to the console. Here's a sample:

$ strings tribes2d
PTRh
QVhX
htcP
htcP
;S r
\WVS

...(cont'd)...

pip->key
pip->value
userprofile.txt
%s/.loki/%s
%s/%s
Linux version by Loki Software, Inc.
http://www.lokigames.com/
Technical support is only available with the full game
Support - FAQ: http://faqs.lokigames.com/
Web: http://fenris.lokigames.com/
E-mail: support@lokigames.com
Phone: 1-714-508-2140 (9-5 PM US Pacific Time)
Usage: %s [options]

...


Note that this may output a lot of info to the terminal, so use something like strings thisbinary|less or use grep to find something that you might be looking for.

OOagent137
2003-08-01, 19:20 PM
Thanks, I guess I had never tried using cat on a binary file.