Archive for the tag 'linux'

 

 

Jan 12 2011

Store Windows Credentials for Auto Login

Published by under Windows

Windows prompts for a login and password when the current logged in user wants to access a share on a domain or workgroup that does not match the one you’ve logged in. It is possible to store identification information or “credentials” so you’re not prompted for the login and password every time you access the […]

No responses yet

Aug 12 2010

Backup a Directory when Modified

Published by under Backup,Linux

I use this script to keep a full local backup of my tftp directory hosted on Linux. It keeps the archive only if some of the files were modified. It lets me restore in a quicker way than using a heavy backup software, which can be used beside to secure the backup elsewhere.The shell script […]

No responses yet

Feb 09 2010

Display Network Stats on Linux with Iptables

Published by under Linux

As for any firewall, iptables is able to do network statistics reporting. the -v (–verbose) option along with the list switch (-L) show packets and bytes counters.Network stats are available on a per rule basis. Here is an example on the INPUT chain:   In this example, you could split the RELATED and ESTABLISHED state rule […]

No responses yet

Dec 31 2009

Linux Remote Console from HP iLO Interface

Published by under Linux,SSH

iLO is a management interface supporting SSH, available on HP Proliant servers. It provides interesting features such as remotely powering the server on and off.But it is also possible to access Linux iLO remote console and reboot in single mode from a remote network. How handy is that!?  Enable Serial Console in BIOS While booting […]

2 responses so far

Dec 29 2009

Bash Colored Root Prompt

Published by under Linux

From Linux Suse /etc/bash.bashrc: # Colored root prompt (see bugzilla #144620) if test “$UID” -eq 0 -a -t && type -p tput > /dev/null 2>&1 ; then _bred=”$(tput bold 2> /dev/null; tput setaf 1 2> /dev/null)” _sgr0=”$(tput sgr0 2> /dev/null)” PS1=”\[$_bred\]$PS1\[$_sgr0\]” unset _bred _sgr0 fi

No responses yet

« Prev - Next »