Home Contact Download

asyd.net

Welcome to Bruno Bonfils's (aka asyd homepage).

Default root's shell

Change root shell in /etc/passwd can be dangerous sometimes, Sun even recommand to never change it. But sh is annoying, prefer something like :

# echo "zsh" > ~/.profile

Allow ssh authentication key based

/etc/ssh/sshd_config

PubKeyAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys
# svcadm refresh ssh