俺様メモ用BLOG

検索
コンテンツへ移動
  • Sample Page

月別アーカイブ: 2014年10月

linux

サブグループ追加

2014/10/10 ieytok コメントをどうぞ

apache グループにユーザー xxx を追加したい。

usermod -a apache xxx
usermod -G apache,group1,group2 xxx
gpasswd -a apache xxx

ユーザー xxx を apache グループから削除。
gpasswd -d apache xxx

linux

Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

2014/10/09 ieytok コメントをどうぞ

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— になっていた。

mode

WordPress実験用

最近の投稿

  • 立ち小便で感電
  • php終了タグ
  • サブグループ追加
  • Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
  • 整形なしの美しいコンパニオン

最近のコメント

    アーカイブ

    • 2015年10月
    • 2015年4月
    • 2014年10月
    • 2014年9月

    カテゴリー

    • linux
    • PC
    • programing
    • windows
    • world

    メタ情報

    • ログイン
    • 投稿の RSS
    • コメントの RSS
    • WordPress.org
    Proudly powered by WordPress