Jan
12
2011
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 […]
Tags: Authentication, cifs, credentials, linux, Windows
Aug
12
2010
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 […]
Tags: backup, linux
Feb
09
2010
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 […]
Tags: firewall, iptables, linux, network
Dec
31
2009
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 […]
Tags: Grub, HP, ilo, linux
Dec
29
2009
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
Tags: bash, linux