EasyRamble は、技術ネタや子育て、英語学習、アウトドアなどについて綴るブログです。Ruby on Rails や Swift などで、Webサービス/アプリを作っています。
![ユーザー・グループの作成と root 権限を制限する設定 〜 CentOS6 | EasyRamble](https://cdn-ak-scissors.b.st-hatena.com/image/square/b27ba1d703068fc4853ea1271440cbb779e7cabb/height=288;version=1;width=512/https%3A%2F%2Feasyramble.com%2Fwp-content%2Fuploads%2F2016%2F03%2Feasyramble_ogp.jpg)
useradd username 普通に個人ユーザを作成。 passwd username パスワードを変更。 usermod -G wheel username 個人ユーザをwheelグループに参加させる。 vi /etc/login.defs login.defs ファイルをエディタで開く。 SU_WHEEL_ONLY yes 「SU_WHEEL_ONLY」の項目を一番最後に追記して保存。 vi /etc/pam.d/su で、6行目辺りにある #auth required pam_wheel.so use_uid のコメントアウトを外して保存。 この段階までやることでwheelグループに入っているユーザのみが、suコマンドでrootユーザになれる。 他のユーザがsuで、正しいパスワードを入れても「su:パスワードが違います」になる。 このままだとrootパスワードを知っている人はその
そもそも.ssh/configでワイルドカードが使えるなんて知らなかった。知らなかったんですよ。 踏み台サーバーを経由したことにして直接サーバーに入るための.ssh/configの設定は以前書きました。 http://kazuph.hateblo.jp/entry/2013/02/04/192358 以前は以下のように、serverが増える度に設定を追加してました。 # 踏み台サーバー Host fumidai HostName fumidai-no-server User username # 踏み台後に入りたいサーバー Hostは適当 また説明に不要な設定は省いている Host server-app1 HostName server-app1 User username ProxyCommand ssh -W %h:%p fumidai Host server-app2 HostNam
When installed in a supported Linux virtual machine running on Hyper-V, the Linux Integration Components provide: •Driver support: Linux Integration Services supports the network controller and the IDE and SCSI storage controllers that were developed specifically for Hyper-V. •Fastpath Boot Support for Hyper-V: Boot devices now take advantage of the block Virtualization Service Client (VSC) to p
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く