rootになれる制限 VL4
rootになれるユーザーを制限します。
下記の変更を行うことによって、wheelグループに所属するユーザー
のみが、rootになれます。
下記一行を追加します。
# vi /etc/login.defs
----
SU_WHEEL_ONLY yes
rootになれるユーザーをwheelグループに追加します。
# vi /etc/group
----
wheel:x:10:root,user_name
下記コメントアウト行を有効にします。行頭”#”を削除する。
# vi /etc/pam.d/su
----
auth required /lib/security/pam_wheel.so use_uid
--参考ページ
http://blog.goo.ne.jp/h-mori/e/4ab5e722fa319d6fcf98c9510999d61a
http://www.taperium.com/modules/wordpress/index.php?p=1668
http://www.lovebug.jp/index.php?root%A4%CB%A4%CA%A4%EC%A4%EB%A5%E6%A1%BC%A5%B6%A1%BC%A4%F2%C0%A9%B8%C2%A4%B9%A4%EB
「Vine Linux 4.xx」カテゴリの記事
- Wine Linux上でWindowsアプリ実行(2010.04.14)
- ntp VL4(2008.02.07)
- SNMP VL4(2008.02.03)
- ssh VL4(2007.12.28)
- Vine Linux4.2 (2007.12.27)
「セキュリティ」カテゴリの記事
- USB大容量記憶装置ドライバを無効にする(2012.05.14)
- twitterスパム(2012.05.07)
- IPアドレスを偽装 spotflux(2012.04.23)
- Android Lost(2012.03.05)
- Hotspot Shield(2009.11.20)



Comments