Limiting Telnet Access
James Scott
jscott at isis.cs.du.edu
Wed Jun 5 09:05:09 AEST 1991
In article <27103 at adm.brl.mil> you write:
=> We have a 3B2 running Wollongon TCP/IP. We need to limit telnet access
=> for some users, but NOT through disabling their accounts.
I thought we were the only one with problems with that setup
(I thought we were the only ones that still _Had_ that setup)
Anyway, this is our solution:
1.) Make a group called 'telnet'.
2.) chgrp telnet /usr/bin/telnet .
3.) chmod o=,gu=rx /usr/bin/telnet .
4.) Edit your /etc/group file, adding the login names of users who
can use telnet into the last field seperated by commas.
5.) For someone to use telnet, they must first type the command
$ newgrp telnet
and _then_
$ telnet
NOTE: the newgrp command CAN NOT be used in a shell script.
k
This worked quite well for us until our kernel bit the dust... Ever
tried to mix UNIX versions on a 3B2? Anyway, I asked this same question
over the net a couple months ago, and the answers I received follow.
_PLEASE_ let me know how you solve your problem...
==========================================================================
James Scott /* jscott at gwhs.colorado.edu */
George Washington H.S., Denver jscott at isis.cs.du.edu
gwhs at teal.csn.org
==========================================================================
More information about the Comp.unix.wizards
mailing list