Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  7 Aug 96 09:19:41 -0400
From:      Yves Lepage <yves@CC.McGill.CA>
To:        Bala Periasamy <bala@cst.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: disable telnet for a group of users
Message-ID:  <199608071319.JAA00734@maelstrom.CC.McGill.CA>
References:  <199608070528.PAA28584@skeg.cst.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>How to disable telnet for a group of users?

Define a group that you could possibly name 'badboys'.

set the permissions on the telnet binary to be r-x---r-x
and group ownership to be 'badboys'.

Then, add all the members of this group of users to the 'badboy'
group.

What will happen is this: when checking execute permissions when the user
invokes telnet, the checking will end at the first match (group). And since
group has no permissions at all on this program, the 'badboys' member won't
be able to execute it. All those who are not part of the group will still be able
to execute the program.

I hope this helps.
Yves Lepage




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608071319.JAA00734>