omezeni su

uhlar@fantomas.sk uhlar@fantomas.sk
15 Oct 2000 16:20:27 GMT


Petr Slansky <slansky@usa.net> wrote:

-> Zdravim,

-> lze nejak omezit, kteri uzivatele se mohou zmenit na roota? Ve FreeBSD musi
-> byt uzivatel zarazen ve skupine 0 (wheel). Jak to zaridit v Debianu?

v slinku nainstalovat secure-su, v potato editnut /etc/pam.d/su

# Uncomment this to force users to be a member of group root
# before than can use u'. You can also add "group=foo" to
# to the end of this line if you want to use a group other
# than the default "root".
# (Replaces the U_WHEEL_ONLY' option from login.defs)
auth       required   pam_wheel.so

-- 
 Matus "fantomas" Uhlar, sysadmin at NEXTRA, Slovakia; IRCNET admin of *.sk
 uhlar@fantomas.sk ; http://www.fantomas.sk/ ; http://www.nextra.sk/
 My mind is like a steel trap - rusty and illegal in 37 states.