A constantly updated list with OSX/Windows versions with support livecycles and usefull Applications:
Win/OSX Versions with support times and usefull apps
Antworten
A constantly updated list with OSX/Windows versions with support livecycles and usefull Applications:
my colored prompt on black terminals:
PS1='\[\033[0;31m\]${debian_chroot:+($debian_chroot)}\u\[\033[1;31m\]@\[\033[0;31m\]\h\[\033[1;33m\][\t]\[\033[1;35m\]\w\n\[\033[1;32m\]\$ >\[\033[1;37m\]'
username@hostname[time]currentpath $ >
![]()
place with „export“ in ~/.bashrc (if bash is your shell)
edit 2017: have a look at liquidprompt
create /etc/ssh/login-notify.sh:
#!/bin/sh
# me: rwxr-xr-x root root /etc/ssh/login-notify.sh
sender="root@$(hostname)"
recepient="root"
[ "$PAM_TYPE" = "open_session" ] || exit 0
{
echo "SSH login auf $(hostname)"
echo "User: $PAM_USER"
echo "Ruser: $PAM_RUSER"
echo "Rhost: $PAM_RHOST"
echo "Service: $PAM_SERVICE"
echo "TTY: $PAM_TTY"
echo "Date: $(date)"
echo "Server: $(uname -a)"
echo "finger:"
echo "$(finger)"
echo "----------------------"
} | tee -a /var/log/my_logins.log | mail -r "$sender" -s "SSH login auf $(hostname)" "$recepient"
add at the end of /etc/pam.d/sshd:
session optional pam_exec.so seteuid /etc/ssh/login-notify.sh