IT Professionals

A website for Network Administrators and Computer Systems Engineers
  • rss
  • Home
  • About
  • Downloads
  • Forums
  • PHOTOS
  • Contact

Importing an IIS .pfx file certificate into Apache

MWahl | April 3, 2010 | 9:39 pm

To export the private key from the Windows IIS server to your non-windows-based machine, you must extract the private key from a Windows .pfx backup certificate. Use the OpenSSL utility to extract the private key from the .pfx backup file:

  1. First backup the certificate you have working on your IIS server to a .pfx file.
  2. Second, use the following OpenSSL command to create a new text file from which you can separate the Private Key:openssl pkcs12 -in mypfxfile.pfx -out outputfile.txt -nodes

    mypfxfile.pfx is the certificate backup from your IIS server.

  3. The above command would have created a text file named outputfile.txt. Open this file with a text editor and you will see the private key listed first:-----BEGIN RSA PRIVATE KEY-----
    (Block of Random Text)
    -----END RSA PRIVATE KEY-----
  4. Copy and paste all of the private key, including the BEGIN and END tags to a new text file and save it as domain_name.key
Bookmark and Share
Comments
6 Comments »
Categories
Linux Server, Uncategorized, Web Servers
Comments rss Comments rss
Trackback Trackback

Installing VMware Tools in Fedora 12

MWahl | April 3, 2010 | 9:24 am

1. VMware Workstation go up to the VM menu item and then select Install VMware Tools

2. Double click on the item which ends in .rpm

3. Click Install. You will be asked for your root password, type it in and press Authenticate.

4. After installation is finished Click Close.

5. Go to Applications at the top left of your guest, then System tools and then click on Terminal.

6. yum -y install gcc kernel-devel patch make

7. vmware-config-tools.pl

Bookmark and Share
Comments
2 Comments »
Categories
Linux Server, Virtual Servers
Comments rss Comments rss
Trackback Trackback

Mysql database backup cron job

MWahl | March 29, 2010 | 9:18 pm

This will backup all of your mysql databases nightly at midnight

Open a command prompt and type crontab -e

type 0 0 * * * /usr/bin/mysqldump -u username -p userpassword --all-databases > /usr/share/bugzilla/mysql/backups/dbbackup.sql

make any changes that you need and then type wq! to save and quit out of the script.

Bookmark and Share
Comments
2 Comments »
Categories
Linux Server, MYSQL
Comments rss Comments rss
Trackback Trackback

Install Bugzilla on Fedora 12

MWahl | March 21, 2010 | 5:48 pm

First I downloaded and installed Fedora 12.

Bugzilla and its dependencies are in the Fedora yum repository. To install Bugzilla and all its Perl dependencies, as root type the following.
1. yum install bugzilla

Install the database engine and web server, in my case MySQL and httpd:

1. yum install httpd mysql-server

To configure MySQL, you need to add the bugzilla user and bugzilla database to MySQL. You can use MySQL tools - either the command line or the mysql-administrator GUI tool.

Configure /etc/bugzilla/localconfig with the right database information:

#################################
# The name of the database
$db_name = 'dbname';

# Who we connect to the database as.
$db_user = 'dbusername';

# Enter your database password here.
$db_pass = 'dbPASSWORD';

Bugzilla files are stored in /usr/share/bugzilla. Change into that directory and run perl checksetup.pl

As a note if you wish to use LDAP Authentication, it is easiest to config that here /var/lib/bugzilla/data and then type vim params

you will want to add these lines to the top of your configuration similar to the one below.

%param = (
'LDAPBaseDN' => 'DC=domainname,DC=com',
'LDAPbinddn' => 'CN=bugzilla,OU=Misc,OU=Server Access,OU=OUNAME,DC=DCNAME,DC=com:bugzillapasswordhere',
'LDAPfilter' => '',
'LDAPmailattribute' => 'mail',
'LDAPserver' => 'domainname.com',
'LDAPstarttls' => 0,
'LDAPuidattribute' => 'sAMAccountName',

Once you have made the changes type Esc :wq! to save quit

The last thing I want to mention is that if you plan on using the new or old charts you will need to first creat a cron job to collect the data everyday and you will also need to adjust security a little.

This should bring up the crontab file in your editor. Add a cron entry like this to run collectstats.pl daily at 5 after midnight:

At a prompt type crontab -e

then type 5 0 * * * cd ; ./collectstats.pl

then press Esc and then :wq! to save and quit

Also so that mysql and httpd start automatically type these to commands at a prompt

chkconfig - -level 2345 httpd on;
chkconfig - -level 2345 mysqld on;

The last thing to change so that you can use charts is to visit SELinux management under system, administration and disable system default enforcing mode, this may require a reboot of the server. There is also probably a command to run that will do this too.

Start mysqld and httpd and browse to http://localhost/bugzilla

Bookmark and Share
Comments
No Comments »
Categories
Linux Server
Comments rss Comments rss
Trackback Trackback

Tomcat6 as a non-root user

MWahl | February 21, 2010 | 10:18 pm

Tomcat running as root could be a huge security hole. Linux only allows root to listen to port 80 and 443…which is why many users of tomcat under Linux run tomcat as root. However, with jscv, the process will start off as root but later on will change ownership to the user tomcat or whatever username you wish.

After doing a few google searches I quickly found bits and pieces to do with configuring Tomcat 6 as a non-root user. So I thought I would try and put together a list of what I did to get this up and running.

1. Download and Install the Linux distro of your choice. I installed Tomcat6 on Fedora 8 Core. After you have Lunix installed its good practice to make sure you have all OS updates applied.

2. Create the user to run tomcat under with useradd tomcat. Issuing this command will create a directory under
/home/tomcat.

3. Download and install Java. Visit http://java.sun.com/products/archive/j2se/6u2/index.html. Select JDK 6,

4. After the download is complete, issue this command to make the file executable chmod 755 jdk-6u2(Version number).

5. Then run the install by issuing ./jdk(version number)

6. Updatedb;locate javac |grep bin

7. Now you need to run the alternatives command to instruct Fedora to recognize Sun’s JVM.

alternatives –install /usr/bin/java java /usr/java/jdk1.6.0_02/bin/java 100
alternatives –install /usr/bin/jar jar /usr/java/jdk1.6.0_02/bin/jar 100
alternatives –install /usr/bin/javac javac /usr/java/jdk1.6.0_02/bin/javac 100
/usr/sbin/alternatives –config java

Select option 1

Type java -version

you should see something like this:
java version “1.6.0_02″
Java(TM) SE Runtime Environment (build 1.6.0_02-ea-b02)
Java HotSpot(TM) Client VM (build 1.6.0_02-ea-b02, mixed mode, sharing)

export JAVA_HOME=/usr/java/jdk1.6.0_02/bin

8. yum Install gcc

9. Download tomcat 6 here http://tomcat.apache.org/download-60.cgi to /home/tomcat. Then Extract the tar file using tar xvzf tomcat6filename.gz to /home/tomcat

10. chown tomcat.tomcat /home/tomcat -R

11. Compile the jscv code by following the instructions here http://tomcat.apache.org/tomcat-6.0-doc/setup.html. You may have to issue
export JAVA_HOME=/usr/java/jdk1.6.0_02/bin before you run the ./configure and the make.

12. Create your start and stop script. Navigate to /etc/init.d create a new file by issuing touch tomcat, make the file executable by issuing chmod 755 tomcat.

13. Next issue vim tomcat and copy and paste the config below. You might have to change some of the setting to fit your server.

# Tomcat auto-start
#
# description: Auto-starts tomcat
# processname: tomcat
# pidfile: /var/run/tomcat.pid

#export JAVA_HOME=/usr/java/jdk1.6.0_02

#case $1 in
#start)
# sh /usr/local/tomcat/bin/startup.sh
# ;;
#stop)
# sh /usr/local/tomcat/bin/shutdown.sh
# ;;
#restart)
# sh /usr/local/tomcat/bin/shutdown.sh
# sh /usr/local/tomcat/bin/startup.sh
# ;;
#esac
#exit 0
#!/bin/sh
#
# Startup script for Tomcat, the Apache Servlet Engine
#
# chkconfig: 345 80 20
# description: Tomcat is the Apache Servlet Engine
# processname: tomcat
# pidfile: /var/run/tomcat.pid

TOMCAT_PROG=tomcat
JAVA_HOME=’/usr/java/jdk1.6.0_02′
CATALINA_HOME=’/usr/local/tomcat/’
DAEMON_HOME=$CATALINA_HOME/bin/jsvc
TMP_DIR=/var/tmp
CATALINA_OPTS=
CLASSPATH=\
$JAVA_HOME/lib/tools.jar:\
$CATALINA_HOME/bin/commons-daemon.jar:\
$CATALINA_HOME/bin/bootstrap.jar

# if TOMCAT_USER is not set, use tomcat like Apache HTTP server
if [ -z "$TOMCAT_USER" ]; then
TOMCAT_USER=”tomcat”
fi

RETVAL=0

# start and stop functions
start() {
echo -n “Starting tomcat: ”
chown -R $TOMCAT_USER:$TOMCAT_USER /usr/local/tomcat/*
$DAEMON_HOME \
-user $TOMCAT_USER \
-home $JAVA_HOME \
-Dcatalina.home=$CATALINA_HOME \
-Djava.io.tmpdir=$TMP_DIR \
-Djava.awt.headless=true \
-outfile $CATALINA_HOME/logs/catalina.out \
-errfile ‘&1′ \
$CATALINA_OPTS \
-cp $CLASSPATH \
org.apache.catalina.startup.Bootstrap
# To get a verbose JVM
#-verbose \
# To get a debug of jsvc.
#-debug \

RETVAL=$?
echo
[ $RETVAL = 0 ] && touch /var/lock/subsys/tomcat
return $RETVAL
}

stop() {
echo -n “Stopping tomcat: ”
PID=`cat /var/run/jsvc.pid`
kill $PID
RETVAL=$?
echo
[ $RETVAL = 0 ] && rm -f /var/lock/subsys/tomcat /var/run/tomcat.pid
}

# See how we were called.
case “$1″ in
start)
start
;;
stop)
stop
;;
restart)
stop

sleep 5
start
;;
*)
echo “Usage: $0 {start|stop|restart}”
exit 1
esac

exit $RETVAL

14. Next to make tomcat start at boot issue #chkconfig –add tomcat and #chkconfig tomcat on 15. You can stop or start tomcat with service tomcat stop or start If you have any qustions just send me an email and ill do my best to get back to you.

15. You can stop or start tomcat with service tomcat stop or start

If you have any qustions just send me an email and ill do my best to get back to you.

Bookmark and Share
Comments
No Comments »
Categories
Linux Server, Web Servers
Comments rss Comments rss
Trackback Trackback

Linux change ownership of a directory and its files

MWahl | January 31, 2010 | 3:01 pm

chown -R ../

Bookmark and Share
Comments
No Comments »
Categories
Linux Server, Linux tools
Comments rss Comments rss
Trackback Trackback

Top Linux Commands

MWahl | December 24, 2009 | 11:19 am

Command Description

• apropos whatis Show commands pertinent to string. See also threadsafe
• man -t man | ps2pdf - > man.pdf make a pdf of a manual page
which command Show full path name of command
time command See how long a command takes
• time cat Start stopwatch. Ctrl-d to stop. See also sw
• nice info Run a low priority command (The "info" reader in this case)
• renice 19 -p $$ Make shell (script) low priority. Use for non interactive tasks
dir navigation
• cd - Go to previous directory
• cd Go to $HOME directory
(cd dir && command) Go to dir, execute command and return to current dir
• pushd . Put current dir on stack so you can popd back to it
file searching
• alias l='ls -l --color=auto' quick dir listing
• ls -lrt List files by date. See also newest and find_mm_yyyy
• ls /usr/bin | pr -T9 -W$COLUMNS Print in 9 columns to width of terminal
find -name '*.[ch]' | xargs grep -E 'expr' Search 'expr' in this dir and below. See also findrepo
find -type f -print0 | xargs -r0 grep -F 'example' Search all regular files for 'example' in this dir and below
find -maxdepth 1 -type f | xargs grep -F 'example' Search all regular files for 'example' in this dir
find -maxdepth 1 -type d | while read dir; do echo $dir; echo cmd2; done Process each item with multiple commands (in while loop)
• find -type f ! -perm -444 Find files not readable by all (useful for web site)
• find -type d ! -perm -111 Find dirs not accessible by all (useful for web site)
• locate -r 'file[^/]*\.txt' Search cached index for names. This re is like glob *file*.txt
• look reference Quickly search (sorted) dictionary for prefix
• grep --color reference /usr/share/dict/words Highlight occurances of regular expression in dictionary
archives and compression
gpg -c file Encrypt file
gpg file.gpg Decrypt file
tar -c dir/ | bzip2 > dir.tar.bz2 Make compressed archive of dir/
bzip2 -dc dir.tar.bz2 | tar -x Extract archive (use gzip instead of bzip2 for tar.gz files)
tar -c dir/ | gzip | gpg -c | ssh user@remote 'dd of=dir.tar.gz.gpg' Make encrypted archive of dir/ on remote machine
find dir/ -name '*.txt' | tar -c --files-from=- | bzip2 > dir_txt.tar.bz2 Make archive of subset of dir/ and below
find dir/ -name '*.txt' | xargs cp -a --target-directory=dir_txt/ --parents Make copy of subset of dir/ and below
( tar -c /dir/to/copy ) | ( cd /where/to/ && tar -x -p ) Copy (with permissions) copy/ dir to /where/to/ dir
( cd /dir/to/copy && tar -c . ) | ( cd /where/to/ && tar -x -p ) Copy (with permissions) contents of copy/ dir to /where/to/
( tar -c /dir/to/copy ) | ssh -C user@remote 'cd /where/to/ && tar -x -p' Copy (with permissions) copy/ dir to remote:/where/to/ dir
dd bs=1M if=/dev/sda | gzip | ssh user@remote 'dd of=sda.gz' Backup harddisk to remote machine
rsync (Network efficient file copier: Use the --dry-run option for testing)
rsync -P rsync://rsync.server.com/path/to/file file Only get diffs. Do multiple times for troublesome downloads
rsync --bwlimit=1000 fromfile tofile Locally copy with rate limit. It's like nice for I/O
rsync -az -e ssh --delete ~/public_html/ remote.com:'~/public_html' Mirror web site (using compression and encryption)
rsync -auz -e ssh remote:/dir/ . && rsync -auz -e ssh . remote:/dir/ Synchronize current directory with remote one
ssh (Secure SHell)
ssh $USER@$HOST command Run command on $HOST as $USER (default command=shell)
• ssh -f -Y $USER@$HOSTNAME xeyes Run GUI command on $HOSTNAME as $USER
scp -p -r $USER@$HOST: file dir/ Copy with permissions to $USER's home directory on $HOST
ssh -g -L 8080:localhost:80 root@$HOST Forward connections to $HOSTNAME:8080 out to $HOST:80
ssh -R 1434:imap:143 root@$HOST Forward connections from $HOST:1434 in to imap:143
wget (multi purpose download tool)
• (cd dir/ && wget -nd -pHEKk http://www.pixelbeat.org/cmdline.html) Store local browsable version of a page to the current dir
wget -c http://www.example.com/large.file Continue downloading a partially downloaded file
wget -r -nd -np -l1 -A '*.jpg' http://www.example.com/dir/ Download a set of files to the current directory
wget ftp://remote/file[1-9].iso/ FTP supports globbing directly
• wget -q -O- http://www.pixelbeat.org/timeline.html | grep 'a href' | head Process output directly
echo 'wget url' | at 01:00 Download url at 1AM to current dir
wget --limit-rate=20k url Do a low priority download (limit to 20KB/s in this case)
wget -nv --spider --force-html -i bookmarks.html Check links in a file
wget --mirror http://www.example.com/ Efficiently update a local copy of a site (handy from cron)
networking (Note ifconfig, route, mii-tool, nslookup commands are obsolete)
ethtool eth0 Show status of ethernet interface eth0
ethtool --change eth0 autoneg off speed 100 duplex full Manually set ethernet interface speed
iwconfig eth1 Show status of wireless interface eth1
iwconfig eth1 rate 1Mb/s fixed Manually set wireless interface speed
• iwlist scan List wireless networks in range
• ip link show List network interfaces
ip link set dev eth0 name wan Rename interface eth0 to wan
ip link set dev eth0 up Bring interface eth0 up (or down)
• ip addr show List addresses for interfaces
ip addr add 1.2.3.4/24 brd + dev eth0 Add (or del) ip and mask (255.255.255.0)
• ip route show List routing table
ip route add default via 1.2.3.254 Set default gateway to 1.2.3.254
• tc qdisc add dev lo root handle 1:0 netem delay 20msec Add 20ms latency to loopback device (for testing)
• tc qdisc del dev lo root Remove latency added above
• host pixelbeat.org Lookup DNS ip address for name or vice versa
• hostname -i Lookup local ip address (equivalent to host `hostname`)
• whois pixelbeat.org Lookup whois info for hostname or ip address
• netstat -tupl List internet services on a system
• netstat -tup List active connections to/from system
windows networking (Note samba is the package that provides all this windows specific networking support)
• smbtree Find windows machines. See also findsmb
nmblookup -A 1.2.3.4 Find the windows (netbios) name associated with ip address
smbclient -L windows_box List shares on windows machine or samba server
mount -t smbfs -o fmask=666,guest //windows_box/share /mnt/share Mount a windows share
echo 'message' | smbclient -M windows_box Send popup to windows machine (off by default in XP sp2)
text manipulation (Note sed uses stdin and stdout. Newer versions support inplace editing with the -i option)
sed 's/string1/string2/g' Replace string1 with string2
sed 's/\(.*\)1/\12/g' Modify anystring1 to anystring2
sed '/ *#/d; /^ *$/d' Remove comments and blank lines
sed ':a; /\\$/N; s/\\\n//; ta' Concatenate lines with trailing \
sed 's/[ \t]*$//' Remove trailing spaces from lines
sed 's/\([`"$\]\)/\\\1/g' Escape shell metacharacters active within double quotes
• seq 10 | sed "s/^/ /; s/ *\(.\{7,\}\)/\1/" Right align numbers
sed -n '1000{p;q}' Print 1000th line
sed -n '10,20p;20q' Print lines 10 to 20
sed -n 's/.*\(.*\)<\/title>.*/\1/ip;T;q' Extract title from HTML web page<br /> sed -i 42d ~/.ssh/known_hosts Delete a particular line<br /> sort -t. -k1,1n -k2,2n -k3,3n -k4,4n Sort IPV4 ip addresses<br /> • echo 'Test' | tr '[:lower:]' '[:upper:]' Case conversion<br /> • tr -dc '[:print:]' < /dev/urandom Filter non printable characters<br /> • history | wc -l Count lines<br /> set operations (Note you can export LANG=C for speed. Also these assume no duplicate lines within a file)<br /> sort file1 file2 | uniq Union of unsorted files<br /> sort file1 file2 | uniq -d Intersection of unsorted files<br /> sort file1 file1 file2 | uniq -u Difference of unsorted files<br /> sort file1 file2 | uniq -u Symmetric Difference of unsorted files<br /> join -t'\0' -a1 -a2 file1 file2 Union of sorted files<br /> join -t'\0' file1 file2 Intersection of sorted files<br /> join -t'\0' -v2 file1 file2 Difference of sorted files<br /> join -t'\0' -v1 -v2 file1 file2 Symmetric Difference of sorted files<br /> math<br /> • echo '(1 + sqrt(5))/2' | bc -l Quick math (Calculate φ). See also bc<br /> • echo 'pad=20; min=64; (100*10^6)/((pad+min)*8)' | bc More complex (int) e.g. This shows max FastE packet rate<br /> • echo 'pad=20; min=64; print (100E6)/((pad+min)*8)' | python Python handles scientific notation<br /> • echo 'pad=20; plot [64:1518] (100*10**6)/((pad+x)*8)' | gnuplot -persist Plot FastE packet rate vs packet size<br /> • echo 'obase=16; ibase=10; 64206' | bc Base conversion (decimal to hexadecimal)<br /> • echo $((0x2dec)) Base conversion (hex to dec) ((shell arithmetic expansion))<br /> • units -t '100m/9.58s' 'miles/hour' Unit conversion (metric to imperial)<br /> • units -t '500GB' 'GiB' Unit conversion (SI to IEC prefixes)<br /> • units -t '1 googol' Definition lookup<br /> • seq 100 | (tr '\n' +; echo 0) | bc Add a column of numbers. See also add and funcpy<br /> calendar<br /> • cal -3 Display a calendar<br /> • cal 9 1752 Display a calendar for a particular month year<br /> • date -d fri What date is it this friday. See also day<br /> • [ $(date -d "tomorrow" +%d) = "01" ] || exit exit a script unless it's the last day of the month<br /> • date --date='25 Dec' +%A What day does xmas fall on, this year<br /> • date --date='@2147483647' Convert seconds since the epoch (1970-01-01 UTC) to date<br /> • TZ='America/Los_Angeles' date What time is it on west coast of US (use tzselect to find TZ)<br /> • date --date='TZ="America/Los_Angeles" 09:00 next Fri' What's the local time for 9AM next Friday on west coast US<br /> echo "mail -s 'get the train' P@draigBrady.com < /dev/null" | at 17:45 Email reminder<br /> • echo "DISPLAY=$DISPLAY xmessage cooker" | at "NOW + 30 minutes" Popup reminder<br /> locales<br /> • printf "%'d\n" 1234 Print number with thousands grouping appropriate to locale<br /> • BLOCK_SIZE=\'1 ls -l get ls to do thousands grouping appropriate to locale<br /> • echo "I live in `locale territory`" Extract info from locale database<br /> • LANG=en_IE.utf8 locale int_prefix Lookup locale info for specific country. See also ccodes<br /> • locale | cut -d= -f1 | xargs locale -kc | less List fields available in locale database<br /> recode (Obsoletes iconv, dos2unix, unix2dos)<br /> • recode -l | less Show available conversions (aliases on each line)<br /> recode windows-1252.. file_to_change.txt Windows "ansi" to local charset (auto does CRLF conversion)<br /> recode utf-8/CRLF.. file_to_change.txt Windows utf8 to local charset<br /> recode iso-8859-15..utf8 file_to_change.txt Latin9 (western europe) to utf8<br /> recode ../b64 < file.txt > file.b64 Base64 encode<br /> recode /qp.. < file.txt > file.qp Quoted printable decode<br /> recode ..HTML < file.txt > file.html Text to HTML<br /> • recode -lf windows-1252 | grep euro Lookup table of characters<br /> • echo -n 0x80 | recode latin-9/x1..dump Show what a code represents in latin-9 charmap<br /> • echo -n 0x20AC | recode ucs-2/x2..latin-9/x Show latin-9 encoding<br /> • echo -n 0x20AC | recode ucs-2/x2..utf-8/x Show utf-8 encoding<br /> CDs<br /> gzip < /dev/cdrom > cdrom.iso.gz Save copy of data cdrom<br /> mkisofs -V LABEL -r dir | gzip > cdrom.iso.gz Create cdrom image from contents of dir<br /> mount -o loop cdrom.iso /mnt/dir Mount the cdrom image at /mnt/dir (read only)<br /> cdrecord -v dev=/dev/cdrom blank=fast Clear a CDRW<br /> gzip -dc cdrom.iso.gz | cdrecord -v dev=/dev/cdrom - Burn cdrom image (use dev=ATAPI -scanbus to confirm dev)<br /> cdparanoia -B Rip audio tracks from CD to wav files in current dir<br /> cdrecord -v dev=/dev/cdrom -audio *.wav Make audio CD from all wavs in current dir (see also cdrdao)<br /> oggenc --tracknum='track' track.cdda.wav -o 'track.ogg' Make ogg file from wav file<br /> disk space (See also FSlint)<br /> • ls -lSr Show files by size, biggest last<br /> • du -s * | sort -k1,1rn | head Show top disk users in current dir. See also dutop<br /> • df -h Show free space on mounted filesystems<br /> • df -i Show free inodes on mounted filesystems<br /> • fdisk -l Show disks partitions sizes and types (run as root)<br /> • rpm -q -a --qf '%10{SIZE}\t%{NAME}\n' | sort -k1,1n List all packages by installed size (Bytes) on rpm distros<br /> • dpkg-query -W -f='${Installed-Size;10}\t${Package}\n' | sort -k1,1n List all packages by installed size (KBytes) on deb distros<br /> • dd bs=1 seek=2TB if=/dev/null of=ext3.test Create a large test file (taking no space). See also truncate<br /> • > file truncate data of file or create an empty file<br /> monitoring/debugging<br /> • tail -f /var/log/messages Monitor messages in a log file<br /> • strace -c ls >/dev/null Summarise/profile system calls made by command<br /> • strace -f -e open ls >/dev/null List system calls made by command<br /> • ltrace -f -e getenv ls >/dev/null List library calls made by command<br /> • lsof -p $$ List paths that process id has open<br /> • lsof ~ List processes that have specified path open<br /> • tcpdump not port 22 Show network traffic except ssh. See also tcpdump_not_me<br /> • ps -e -o pid,args --forest List processes in a hierarchy<br /> • ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d' List processes by % cpu usage<br /> • ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS List processes by mem (KB) usage. See also ps_mem.py<br /> • ps -C firefox-bin -L -o pid,tid,pcpu,state List all threads for a particular process<br /> • ps -p 1,2 List info for particular process IDs<br /> • last reboot Show system reboot history<br /> • free -m Show amount of (remaining) RAM (-m displays in MB)<br /> • watch -n.1 'cat /proc/interrupts' Watch changeable data continuously<br /> system information (see also sysinfo) ('#' means root access is required)<br /> • uname -a Show kernel version and system architecture<br /> • head -n1 /etc/issue Show name and version of distribution<br /> • cat /proc/partitions Show all partitions registered on the system<br /> • grep MemTotal /proc/meminfo Show RAM total seen by the system<br /> • grep "model name" /proc/cpuinfo Show CPU(s) info<br /> • lspci -tv Show PCI info<br /> • lsusb -tv Show USB info<br /> • mount | column -t List mounted filesystems on the system (and align output)<br /> • grep -F capacity: /proc/acpi/battery/BAT0/info Show state of cells in laptop battery<br /> # dmidecode -q | less Display SMBIOS/DMI information<br /> # smartctl -A /dev/sda | grep Power_On_Hours How long has this disk (system) been powered on in total<br /> # hdparm -i /dev/sda Show info about disk sda<br /> # hdparm -tT /dev/sda Do a read speed test on disk sda<br /> # badblocks -s /dev/sda Test for unreadable blocks on disk sda<br /> interactive (see also linux keyboard shortcuts)<br /> • readline Line editor used by bash, python, bc, gnuplot, ...<br /> • screen Virtual terminals with detach capability, ...<br /> • mc Powerful file manager that can browse rpm, tar, ftp, ssh, ...<br /> • gnuplot Interactive/scriptable graphing<br /> • links Web browser<br /> • xdg-open . open a file or url with the registered desktop application<br /> miscellaneous<br /> • alias hd='od -Ax -tx1z -v' Handy hexdump. (usage e.g.: • hd /proc/self/cmdline | less)<br /> • alias realpath='readlink -f' Canonicalize path. (usage e.g.: • realpath ~/../$USER)<br /> • set | grep $USER Search current environment<br /> touch -c -t 0304050607 file Set file timestamp (YYMMDDhhmm)<br /> • python -m SimpleHTTPServer Serve current directory tree at http://$HOSTNAME:8000/<br /> </code></p> <!-- AddThis Button BEGIN --> <script type="text/javascript"> var addthis_pub = ''; var addthis_language = 'en';var addthis_options = 'email, favorites, digg, delicious, myspace, google, facebook, reddit, live, more'; </script> <div class="addthis_container"><a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', 'http%3A%2F%2Fwww.thenetworkadministrator.net%2Findex.php%2F2009%2F12%2Ftop-linux-commands%2F', 'Top+Linux+Commands')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" border="0" alt="Bookmark and Share"/></a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script></div> <!-- AddThis Button END --> </div> <div class="meta"> <dl> <dt>Comments</dt><dd><a href="http://www.thenetworkadministrator.net/index.php/2009/12/top-linux-commands/#respond" title="Comment on Top Linux Commands">No Comments »</a></dd> <dt>Categories</dt><dd><a href="http://www.thenetworkadministrator.net/index.php/category/linux-server/" title="View all posts in Linux Server" rel="category tag">Linux Server</a></dd> <dt><img alt="Comments rss" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/icons/feed-icon-16x16.gif" /> <a href='http://www.thenetworkadministrator.net/index.php/2009/12/top-linux-commands/feed/'>Comments rss</a></dt> <dt><img alt="Trackback" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/icons/trackback-icon-16x16.gif" /> <a href="http://www.thenetworkadministrator.net/index.php/2009/12/top-linux-commands/trackback/ " rel="trackback" title="Trackback">Trackback</a></dt> </dl> </div> </div> <div class="post" id="post-523"> <h2><a href="http://www.thenetworkadministrator.net/index.php/2009/12/configuring-a-secure-ftp-linux-server/" rel="bookmark" title="Read Configuring a secure FTP Linux Server">Configuring a secure FTP Linux Server</a></h2> <small class="author">MWahl</small> <small class="date">| December 24, 2009</small> <small class="date">| 10:58 am</small> <div class="entry"> <p>I needed to configure an SFTP server on a Fedora 8 Core server. To Keep things simple I choose SFTP over VSFTP as I was already running the SSH Daemon for server management. </p> <p>So if you dont already have the SSH Daemon installed, open a terminal session as root and type<br /> <code><br /> Yum install ssh*</p> <p>Select Yes to download and install </p> <p>type cd /etc/ssh</p> <p>type vi sshd_config and make sure the config is similar to the one below</p> <p>#####SSHD_Config######</p> <p># $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $</p> <p># This is the sshd server system-wide configuration file. See<br /> # sshd_config(5) for more information.</p> <p># This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin</p> <p># The strategy used for options in the default sshd_config shipped with<br /> # OpenSSH is to specify options with their default value where<br /> # possible, but leave them commented. Uncommented options change a<br /> # default value.</p> <p>#Port 22<br /> #AddressFamily any<br /> #ListenAddress 0.0.0.0<br /> #ListenAddress ::</p> <p># Disable legacy (protocol version 1) support in the server for new<br /> # installations. In future the default will change to require explicit<br /> # activation of protocol 1<br /> Protocol 2</p> <p># HostKey for protocol version 1<br /> #HostKey /etc/ssh/ssh_host_key<br /> # HostKeys for protocol version 2<br /> #HostKey /etc/ssh/ssh_host_rsa_key<br /> #HostKey /etc/ssh/ssh_host_dsa_key</p> <p># Lifetime and size of ephemeral version 1 server key<br /> #KeyRegenerationInterval 1h<br /> #ServerKeyBits 1024</p> <p># Logging<br /> # obsoletes QuietMode and FascistLogging<br /> #SyslogFacility AUTH<br /> #LogLevel INFO</p> <p># Authentication:</p> <p>#LoginGraceTime 2m<br /> #PermitRootLogin yes<br /> #StrictModes yes<br /> #MaxAuthTries 6<br /> #MaxSessions 10</p> <p>#RSAAuthentication yes<br /> #PubkeyAuthentication yes<br /> #AuthorizedKeysFile .ssh/authorized_keys</p> <p># For this to work you will also need host keys in /etc/ssh/ssh_known_hosts<br /> #RhostsRSAAuthentication no<br /> # similar for protocol version 2<br /> #HostbasedAuthentication no<br /> # Change to yes if you don't trust ~/.ssh/known_hosts for<br /> # RhostsRSAAuthentication and HostbasedAuthentication<br /> #IgnoreUserKnownHosts no<br /> # Don't read the user's ~/.rhosts and ~/.shosts files<br /> #IgnoreRhosts yes</p> <p># To disable tunneled clear text passwords, change to no here!<br /> PasswordAuthentication no<br /> #PermitEmptyPasswords no</p> <p># Change to no to disable s/key passwords<br /> #ChallengeResponseAuthentication yes</p> <p># Kerberos options<br /> #KerberosAuthentication no<br /> #KerberosOrLocalPasswd yes<br /> #KerberosTicketCleanup yes<br /> #KerberosGetAFSToken no</p> <p># GSSAPI options<br /> #GSSAPIAuthentication no<br /> #GSSAPICleanupCredentials yes</p> <p># Set this to 'yes' to enable support for the deprecated 'gssapi' authentication<br /> # mechanism to OpenSSH 3.8p1. The newer 'gssapi-with-mic' mechanism is included<br /> # in this release. The use of 'gssapi' is deprecated due to the presence of<br /> # potential man-in-the-middle attacks, which 'gssapi-with-mic' is not susceptible to.<br /> #GSSAPIEnableMITMAttack no</p> <p># Set this to 'yes' to enable PAM authentication, account processing,<br /> # and session processing. If this is enabled, PAM authentication will<br /> # be allowed through the ChallengeResponseAuthentication and<br /> # PasswordAuthentication. Depending on your PAM configuration,<br /> # PAM authentication via ChallengeResponseAuthentication may bypass<br /> # the setting of "PermitRootLogin without-password".<br /> # If you just want the PAM account and session checks to run without<br /> # PAM authentication, then enable this but set PasswordAuthentication<br /> # and ChallengeResponseAuthentication to 'no'.<br /> UsePAM yes</p> <p>#AllowAgentForwarding yes<br /> #AllowTcpForwarding yes<br /> #GatewayPorts no<br /> X11Forwarding yes<br /> #X11DisplayOffset 10<br /> #X11UseLocalhost yes<br /> #PrintMotd yes<br /> #PrintLastLog yes<br /> #TCPKeepAlive yes<br /> #UseLogin no<br /> #UsePrivilegeSeparation yes<br /> #PermitUserEnvironment no<br /> #Compression delayed<br /> #ClientAliveInterval 0<br /> #ClientAliveCountMax 3<br /> #UseDNS yes<br /> #PidFile /var/run/sshd.pid<br /> #MaxStartups 10<br /> #PermitTunnel no<br /> #ChrootDirectory none</p> <p># no default banner path<br /> #Banner none</p> <p># override default of no subsystems<br /> Subsystem sftp /usr/libexec/openssh/sftp-server</p> <p># This enables accepting locale enviroment variables LC_* LANG, see sshd_config(5).<br /> AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES<br /> AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT<br /> AcceptEnv LC_IDENTIFICATION LC_ALL</p> <p># Example of overriding settings on a per-user basis<br /> #Match User anoncvs<br /> # X11Forwarding no<br /> # AllowTcpForwarding no<br /> # ForceCommand cvs server</p> <p>press Esc then type :wq! and enter to close out of the vi editor and save changes<br /> </code><br /> Restart the SSH Daemon by typing service sshd restart</p> <p>If you have any trouble connecting, you can install Putty http://www.chiark.greenend.org.uk/~sgtatham/putty/</p> <p>After installing putty, open a windows command window, browse to C:\Program Files (x86)\PuTTY>psftp -v (internal or external server IP address)</p> <p>I did see a difference between Fedora and Open SuSE with this line in sshd_config, just make sure the path to sftp-server is correct. If your unsure where sftp-server is you can always run a search as find -name ‘ftp-server*’ or something like that.</p> <p>Subsystem sftp /usr/libexec/openssh/sftp-server </p> <!-- AddThis Button BEGIN --> <script type="text/javascript"> var addthis_pub = ''; var addthis_language = 'en';var addthis_options = 'email, favorites, digg, delicious, myspace, google, facebook, reddit, live, more'; </script> <div class="addthis_container"><a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', 'http%3A%2F%2Fwww.thenetworkadministrator.net%2Findex.php%2F2009%2F12%2Fconfiguring-a-secure-ftp-linux-server%2F', 'Configuring+a+secure+FTP+Linux+Server')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" border="0" alt="Bookmark and Share"/></a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script></div> <!-- AddThis Button END --> </div> <div class="meta"> <dl> <dt>Comments</dt><dd><a href="http://www.thenetworkadministrator.net/index.php/2009/12/configuring-a-secure-ftp-linux-server/#respond" title="Comment on Configuring a secure FTP Linux Server">No Comments »</a></dd> <dt>Categories</dt><dd><a href="http://www.thenetworkadministrator.net/index.php/category/linux-server/" title="View all posts in Linux Server" rel="category tag">Linux Server</a>, <a href="http://www.thenetworkadministrator.net/index.php/category/linux-tools/" title="View all posts in Linux tools" rel="category tag">Linux tools</a>, <a href="http://www.thenetworkadministrator.net/index.php/category/uncategorized/" title="View all posts in Uncategorized" rel="category tag">Uncategorized</a></dd> <dt><img alt="Comments rss" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/icons/feed-icon-16x16.gif" /> <a href='http://www.thenetworkadministrator.net/index.php/2009/12/configuring-a-secure-ftp-linux-server/feed/'>Comments rss</a></dt> <dt><img alt="Trackback" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/icons/trackback-icon-16x16.gif" /> <a href="http://www.thenetworkadministrator.net/index.php/2009/12/configuring-a-secure-ftp-linux-server/trackback/ " rel="trackback" title="Trackback">Trackback</a></dt> </dl> </div> </div> <div class="post" id="post-449"> <h2><a href="http://www.thenetworkadministrator.net/index.php/2009/11/lost-your-root-password/" rel="bookmark" title="Read Lost your Root Password">Lost your Root Password</a></h2> <small class="author">MWahl</small> <small class="date">| November 22, 2009</small> <small class="date">| 6:54 pm</small> <div class="entry"> <p>If you have inheirted  an system or simply lost SU password in most cases you can reset the password. Remember phyiscal access is root or administrator access….</p> <p>Open SuSE</p> <p>If using CD/DVD boot media, You need to choose Rescue System</p> <p>mount -o remount,rw /dev/sda2 /mnt</p> <p># cd /mnt<br /> # chroot /mnt<br /> # passwd (new password)</p> <p>Reboot</p> <!-- AddThis Button BEGIN --> <script type="text/javascript"> var addthis_pub = ''; var addthis_language = 'en';var addthis_options = 'email, favorites, digg, delicious, myspace, google, facebook, reddit, live, more'; </script> <div class="addthis_container"><a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', 'http%3A%2F%2Fwww.thenetworkadministrator.net%2Findex.php%2F2009%2F11%2Flost-your-root-password%2F', 'Lost+your+Root+Password')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" border="0" alt="Bookmark and Share"/></a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script></div> <!-- AddThis Button END --> </div> <div class="meta"> <dl> <dt>Comments</dt><dd><a href="http://www.thenetworkadministrator.net/index.php/2009/11/lost-your-root-password/#respond" title="Comment on Lost your Root Password">No Comments »</a></dd> <dt>Categories</dt><dd><a href="http://www.thenetworkadministrator.net/index.php/category/linux-server/" title="View all posts in Linux Server" rel="category tag">Linux Server</a>, <a href="http://www.thenetworkadministrator.net/index.php/category/linux-tools/" title="View all posts in Linux tools" rel="category tag">Linux tools</a></dd> <dt><img alt="Comments rss" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/icons/feed-icon-16x16.gif" /> <a href='http://www.thenetworkadministrator.net/index.php/2009/11/lost-your-root-password/feed/'>Comments rss</a></dt> <dt><img alt="Trackback" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/icons/trackback-icon-16x16.gif" /> <a href="http://www.thenetworkadministrator.net/index.php/2009/11/lost-your-root-password/trackback/ " rel="trackback" title="Trackback">Trackback</a></dt> </dl> </div> </div> <div class="post" id="post-445"> <h2><a href="http://www.thenetworkadministrator.net/index.php/2009/11/nagios-it-monitoring-software/" rel="bookmark" title="Read Nagios IT Monitoring software">Nagios IT Monitoring software</a></h2> <small class="author">MWahl</small> <small class="date">| November 22, 2009</small> <small class="date">| 6:35 pm</small> <div class="entry"> <p>As an alternative to more costly software monitoring  solutions this is free, Nagios provides the means to monitor windows and linux servers and other equipment such as</p> <p> </p> <ul> <li><a href="http://www.thenetworkadministrator.net/wp-admin/monitoring-windows.html">Monitoring Windows machines</a></li> <li><a href="http://www.thenetworkadministrator.net/wp-admin/monitoring-linux.html">Monitoring Linux/Unix machines</a></li> <li><a href="http://www.thenetworkadministrator.net/wp-admin/monitoring-netware.html">Monitoring Netware servers</a></li> <li><a href="http://www.thenetworkadministrator.net/wp-admin/monitoring-routers.html">Monitoring routers/switches</a></li> <li><a href="http://www.thenetworkadministrator.net/wp-admin/monitoring-printers.html">Monitoring network printers</a></li> <li><a href="http://www.thenetworkadministrator.net/wp-admin/monitoring-publicservices.html">Monitoring publicly available services (HTTP, FTP, SSH, etc.)</a></li> </ul> <p>To keeps things simple I chose to install Nagios on Open SuSE 11.2 <a href="http://software.opensuse.org/112/en">http://software.opensuse.org/112/en</a>. Just go through a typical install, make sure that you install apache2 or httpd (Fedora) and C/C++ development libraries. Also I like to change the default run level from 5 to 3 so that you can put the memory toward the server and not toward the GUI interface. I would also recommend enabling SSH to manager the server.  For the most part you will be modifying conf files and managing the server from <a href="http://nagios_server_IP/nagios">http://nagios_server_IP/nagios</a>. Once you have your monitoring server operating system built in my case I chose OpenSuSE, follow these simple steps….</p> <p>As a quick note, step 1, I had an issue with these commands…..<br /> /usr/sbin/usermod -a -G nagcmd nagios</p> <p>/usr/sbin/usermod -a -G nagcmd wwwrun</p> <p>so, instead I used….</p> <p>/usr/sbin/usermod  -G nagcmd nagios<br /> /usr/sbin/usermod  -G nagcmd wwwrun</p> <p> Also one more note, after two installs the status map has not worked. I am running OpenSuSE, to fix this problem I did the following.</p> <p>Make sure these packages are installed.</p> <p><span style="font-family: arial,helvetica;"> </span></p> <div><span style="font-family: arial,helvetica;"> </span></div> <p> </p> <p><span style="font-family: arial,helvetica;"></span> </p> <p> </p> <p><a href="http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html">http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html</a></p> <p><a href="http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html">http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html</a></p> <p><a href="http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html">http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html</a></p> <p align="justify"><strong>Debian/ubuntu</strong></p> <p> </p> <p align="justify"><strong>apt-get install</strong></p> <p> </p> <p align="justify">libgd</p> <p>libgd-devel</p> <p>libpng</p> <p>libpng-devel</p> <p>libjpeg</p> <p>libjpeg-devel</p> <p>zlib</p> <p>zlib-devel</p> <p><span style="font-family: arial,helvetica;"><strong>Fedora /centos/RHEL/opensuse</strong></span></p> <p><strong>Use  yum install Or yast2 -i</strong></p> <p> </p> <p>gd</p> <p>gd-devel</p> <p>png</p> <p>png-devel</p> <p>jpeg</p> <p>jpeg-devel</p> <p>zlib</p> <p>zlib-devel</p> <p>While in the Nagios directory run the following commands. IF YOU ARE RUNNING RUNNING THESE COMMANDS ON AN EXISTING INSTALL YOU WILL LOSE DATA, SO PLEASE MAKE A COPY OF YOU CONFIG FILES.</p> <p> </p> <p><span style="font-family: arial,helvetica; color: #008000;"><span style="font-family: arial,helvetica; color: #008000;"><font face="arial,helvetica" color="#008000"><font face="arial,helvetica" color="#008000"><strong></strong></font></font></p> <p></span><font face="arial,helvetica" color="#008000"><strong></strong></font></p> <p></span><strong></strong> </p> <p><strong> </strong></p> <!-- AddThis Button BEGIN --> <script type="text/javascript"> var addthis_pub = ''; var addthis_language = 'en';var addthis_options = 'email, favorites, digg, delicious, myspace, google, facebook, reddit, live, more'; </script> <div class="addthis_container"><a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', 'http%3A%2F%2Fwww.thenetworkadministrator.net%2Findex.php%2F2009%2F11%2Fnagios-it-monitoring-software%2F', 'Nagios+IT+Monitoring+software')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" border="0" alt="Bookmark and Share"/></a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script></div> <!-- AddThis Button END --> </div> <div class="meta"> <dl> <dt>Comments</dt><dd><a href="http://www.thenetworkadministrator.net/index.php/2009/11/nagios-it-monitoring-software/#respond" title="Comment on Nagios IT Monitoring software">No Comments »</a></dd> <dt>Categories</dt><dd><a href="http://www.thenetworkadministrator.net/index.php/category/linux-server/" title="View all posts in Linux Server" rel="category tag">Linux Server</a>, <a href="http://www.thenetworkadministrator.net/index.php/category/linux-tools/" title="View all posts in Linux tools" rel="category tag">Linux tools</a>, <a href="http://www.thenetworkadministrator.net/index.php/category/windows-server/" title="View all posts in Windows Server" rel="category tag">Windows Server</a>, <a href="http://www.thenetworkadministrator.net/index.php/category/windows-tools/" title="View all posts in Windows tools" rel="category tag">Windows tools</a></dd> <dt><img alt="Comments rss" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/icons/feed-icon-16x16.gif" /> <a href='http://www.thenetworkadministrator.net/index.php/2009/11/nagios-it-monitoring-software/feed/'>Comments rss</a></dt> <dt><img alt="Trackback" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/icons/trackback-icon-16x16.gif" /> <a href="http://www.thenetworkadministrator.net/index.php/2009/11/nagios-it-monitoring-software/trackback/ " rel="trackback" title="Trackback">Trackback</a></dt> </dl> </div> </div> <p class="navigation"> <span class="alignleft"><a href="http://www.thenetworkadministrator.net/index.php/category/linux-server/page/2/" >« Previous Entries</a></span> <span class="alignright"></span> </p> </div> <div id="sidebar" class="sidebar"> <div> <div id="recent-posts-2" class="widget widget_recent_entries"> <h2 class="title">Recent Posts</h2> <ul> <li><a href="http://www.thenetworkadministrator.net/index.php/2010/08/change-iis-6-asp-net-version-without-restarting-iis/" title="Change IIS 6 ASP.Net Version Without Restarting IIS">Change IIS 6 ASP.Net Version Without Restarting IIS</a></li> <li><a href="http://www.thenetworkadministrator.net/index.php/2010/07/windows-iis-6-implementing-a-reverse-proxy/" title="Implementing A Reverse Proxy with IIS 6">Implementing A Reverse Proxy with IIS 6</a></li> <li><a href="http://www.thenetworkadministrator.net/index.php/2010/07/new-to-powershell-try-powergui/" title="New to PowerShell? Try powergui!">New to PowerShell? Try powergui!</a></li> <li><a href="http://www.thenetworkadministrator.net/index.php/2010/07/scan-file-shares-on-your-network-and-view-their-security-settings-to-close-security-holes-with-shareenum/" title="Scan file shares on your network and view their security settings to close security holes with ShareEnum">Scan file shares on your network and view their security settings to close security holes with ShareEnum</a></li> <li><a href="http://www.thenetworkadministrator.net/index.php/2010/07/view-the-security-of-an-ntfs-folder/" title="View The Security of an NTFS Folder">View The Security of an NTFS Folder</a></li> </ul> </div><div id="categories-2" class="widget widget_categories"><h2 class="title">Categories</h2> <ul> <li class="cat-item cat-item-49"><a href="http://www.thenetworkadministrator.net/index.php/category/amazon-ec2/" title="View all posts filed under Amazon EC2">Amazon EC2</a> </li> <li class="cat-item cat-item-46"><a href="http://www.thenetworkadministrator.net/index.php/category/blackberry/" title="View all posts filed under Blackberry">Blackberry</a> </li> <li class="cat-item cat-item-48"><a href="http://www.thenetworkadministrator.net/index.php/category/blackberry-enterprise-server/" title="View all posts filed under Blackberry Enterprise Server">Blackberry Enterprise Server</a> </li> <li class="cat-item cat-item-17"><a href="http://www.thenetworkadministrator.net/index.php/category/blogs/" title="View all posts filed under blogs">blogs</a> </li> <li class="cat-item cat-item-16"><a href="http://www.thenetworkadministrator.net/index.php/category/databases/" title="View all posts filed under Databases">Databases</a> </li> <li class="cat-item cat-item-47"><a href="http://www.thenetworkadministrator.net/index.php/category/iphone/" title="View all posts filed under iPhone">iPhone</a> </li> <li class="cat-item cat-item-11 current-cat"><a href="http://www.thenetworkadministrator.net/index.php/category/linux-server/" title="View all posts filed under Linux Server">Linux Server</a> </li> <li class="cat-item cat-item-29"><a href="http://www.thenetworkadministrator.net/index.php/category/linux-tools/" title="View all posts filed under Linux tools">Linux tools</a> </li> <li class="cat-item cat-item-38"><a href="http://www.thenetworkadministrator.net/index.php/category/microsoft-apps/" title="View all posts filed under Microsoft Apps">Microsoft Apps</a> </li> <li class="cat-item cat-item-43"><a href="http://www.thenetworkadministrator.net/index.php/category/microsoft-exchange/" title="View all posts filed under Microsoft Exchange">Microsoft Exchange</a> </li> <li class="cat-item cat-item-51"><a href="http://www.thenetworkadministrator.net/index.php/category/microsoft-sharepoint-services/" title="View all posts filed under Microsoft Sharepoint Services">Microsoft Sharepoint Services</a> </li> <li class="cat-item cat-item-30"><a href="http://www.thenetworkadministrator.net/index.php/category/mysql/" title="View all posts filed under MYSQL">MYSQL</a> </li> <li class="cat-item cat-item-12"><a href="http://www.thenetworkadministrator.net/index.php/category/networking/" title="View all posts filed under Networking">Networking</a> </li> <li class="cat-item cat-item-15"><a href="http://www.thenetworkadministrator.net/index.php/category/security/" title="View all posts filed under Security">Security</a> </li> <li class="cat-item cat-item-40"><a href="http://www.thenetworkadministrator.net/index.php/category/tech-preview/" title="View all posts filed under Tech Preview">Tech Preview</a> </li> <li class="cat-item cat-item-1"><a href="http://www.thenetworkadministrator.net/index.php/category/uncategorized/" title="View all posts filed under Uncategorized">Uncategorized</a> </li> <li class="cat-item cat-item-18"><a href="http://www.thenetworkadministrator.net/index.php/category/virtual-servers/" title="View all posts filed under Virtual Servers">Virtual Servers</a> </li> <li class="cat-item cat-item-41"><a href="http://www.thenetworkadministrator.net/index.php/category/web-browsers/" title="View all posts filed under Web Browsers">Web Browsers</a> </li> <li class="cat-item cat-item-50"><a href="http://www.thenetworkadministrator.net/index.php/category/web-server-load-balancing/" title="View all posts filed under Web Server load balancing">Web Server load balancing</a> </li> <li class="cat-item cat-item-26"><a href="http://www.thenetworkadministrator.net/index.php/category/web-servers/" title="View all posts filed under Web Servers">Web Servers</a> </li> <li class="cat-item cat-item-13"><a href="http://www.thenetworkadministrator.net/index.php/category/windows-desktops/" title="View all posts filed under Windows Desktops">Windows Desktops</a> </li> <li class="cat-item cat-item-10"><a href="http://www.thenetworkadministrator.net/index.php/category/windows-server/" title="View all posts filed under Windows Server">Windows Server</a> </li> <li class="cat-item cat-item-32"><a href="http://www.thenetworkadministrator.net/index.php/category/windows-tools/" title="View all posts filed under Windows tools">Windows tools</a> </li> </ul> </div><div id="linkcat-2" class="widget widget_links"><h2 class="title">Blogroll</h2> <ul class='xoxo blogroll'> <li><a href="http://www.dailyrotation.com/">daily rotation</a></li> <li><a href="http://www.engadget.com/">Engadget</a></li> <li><a href="http://www.howtogeek.com/">how to geek</a></li> <li><a href="http://technet.microsoft.com/en-us/security/cc136632.aspx">IT Pro Security Community</a></li> <li><a href="http://jeffstevenson.karamazovgroup.com/">Jeff Stevenson</a></li> <li><a href="http://kevindevin.com/">kevin devin</a></li> <li><a href="http://www.lazynetworkadmin.com/">Lazy Network Admin</a></li> <li><a href="http://lopsa.org/"><img src="http://www.thenetworkadministrator.net/wp-content/uploads/2009/07/LOPSA-button_1.bmp" alt="lopsa" /> lopsa</a></li> <li><a href="http://mashable.com/">mashable</a></li> <li><a href="http://social.microsoft.com/profile/en-US?user=MWahl">MWahl social.microsoft.com</a></li> <li><a href="http://www.mckeay.net/">Network Security</a></li> <li><a href="http://www.petri.co.il/">Petri</a></li> <li><a href="http://www.routerfreak.com/">routerfreak</a></li> <li><a href="http://www.svrops.com/svrops/default.htm">SVROPS</a></li> <li><a href="http://www.bbc.co.uk/blogs/technology/">Technology blog from bbc</a></li> <li><a href="http://www.technologyreview.com/">technology review</a></li> <li><a href="http://www.theworkplaceblog.com/">theworkplaceblog</a></li> </ul> </div> </div> </div> </div> <div style="position:relative;"> <div class="wp_followme_c2"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="32" height="160" id="wpFollowmeFlash"> <param name="movie" value="http://www.thenetworkadministrator.net/wp-content/plugins/wp-followme/flash/wp_followme.swf" /> <param name="allowfullscreen" value="false" /> <param name="allowscriptaccess" value="always" /> <param name="flashvars" value="twit_icon=http://www.thenetworkadministrator.net/wp-content/plugins/wp-followme/icons/8.png&turl=http://twitter.com/thenetworkad&twitmsg=Follow Me&twitmsgcolor=FFFFFF&iconbgcolor=FFFFFF" /> <param name="bgcolor" value="#59B7FF" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="http://www.thenetworkadministrator.net/wp-content/plugins/wp-followme/flash/wp_followme.swf" width="32" height="160"> <param name="allowfullscreen" value="false" /> <param name="allowscriptaccess" value="always" /> <param name="flashvars" value="twit_icon=http://www.thenetworkadministrator.net/wp-content/plugins/wp-followme/icons/8.png&turl=http://twitter.com/thenetworkad&twitmsg=Follow Me&twitmsgcolor=FFFFFF&iconbgcolor=FFFFFF" /> <param name="bgcolor" value="#59B7FF" /> <!--<![endif]--> <div class="getflash"> <a rel="nofollow" href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a>Plugin by wpburn.com <a href="http://wpburn.com">wordpress themes</a></div><!--[if !IE]>--> </object> <!--<![endif]--> </object> </div> </div> </div> </div> <div id="footer"> <div class="container"> <div id="footer_content"><a href="http://www.thenetworkadministrator.net/index.php/feed/"><img alt="rss" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/rss_blog.gif"/></a> <a href="http://www.thenetworkadministrator.net/index.php/comments/feed/"><img alt="Comments rss" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/rss_comments.gif"/></a> <a href="http://validator.w3.org/check?uri=referer"><img alt="valid xhtml 1.1" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/valid_xhtml11_80x15_2.png"/></a> <a href="http://www.jide.fr"><img alt="design by jide" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/micro_jide.png"/></a> <a href="http://wordpress.org/"><img alt="powered by Wordpress" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/get_wordpress_80x15_2.png"/></a> <a href="http://www.mozilla.com/firefox"><img alt="get firefox" src="http://www.thenetworkadministrator.net/wp-content/themes/freshy2/images/get_firefox_80x15.png"/></a></div> </div> </div> </div> </body> </html>