apache グループにユーザー xxx を追加したい。
usermod -a apache xxx
usermod -G apache,group1,group2 xxx
gpasswd -a apache xxx
ユーザー xxx を apache グループから削除。
gpasswd -d apache xxx
apache グループにユーザー xxx を追加したい。
usermod -a apache xxx
usermod -G apache,group1,group2 xxx
gpasswd -a apache xxx
ユーザー xxx を apache グループから削除。
gpasswd -d apache xxx
Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
公開鍵認証でログインできなくなった。
サーバー側ログ
sshd[3529]: Authentication refused: bad ownership or modes for directory /home/xxxx
$HOME/.ssh だけでなく $HOME ディレクトリも drwx—— でないといけない。
drwxrwx— になっていた。
$>convert -colors 64 -resize 400x -delay 12 source*jpg out.gif #①
$>convert -resize 400x -colors 64 -delay 12 source*jpg out.gif #②
①より②のほうが出力ファイルサイズが小さくなる
指定行Gまたは:指定行