General discussion

Locked

Restrict Telnet users

By dennisbv ·
I administer a RS6000 box with AIX 4.3 most of my users login through thier Com ports or Terminal connected to a Ran box. Basicly they are connected to a port by thier cable conected to thier com port. I have some users that Telnet in through the Ethernet network. On all the PC's we are using a terminal emulator, the only difference is that some go over the Ethernet instaed of the cable conected to thier com port. I can disable the ports for the users that direct connect but I need to know How I can disable the Telnet users. When I do maintenace on the server and I disable to tty ports the Telnet users can still log in.

This conversation is currently closed to new comments.

15 total posts (Page 2 of 2)   Prev   01 | 02
Thread display: Collapse - | Expand +

All Comments

Collapse -

Restrict Telnet users

by dennisbv In reply to Restrict Telnet users

Poster rated this answer

Collapse -

Restrict Telnet users

by dennisbv In reply to Restrict Telnet users

Can you have Groups in AIX ? If so how do you do it?

Collapse -

Restrict Telnet users

by NickMkhn In reply to Restrict Telnet users

RE: Can you have Groups in AIX ? If so how do you do it?

- Yes, in terms of UNIX in general, (and “Ain’t UNIX”=AIX particularly) :

http://www.ucalgary.ca/it/aix/accesscontrol.html
(remove all spaces from the link before opening !)

You have to decide first who those yours “a bunch of users” are, and which specific group they belong to.
Or otherwise: you can assume, and keep, and treat “a bunch of users” as others, but you have to implement some work and arrange in a group(s) the users that you trust and allow to telnet at the moment.

That will do your work easy, and you will be able to switch permissions to telnet ON and OFF in seconds, as a snap.

Please, read man on chmod (Change Access Permission Mode of File).
For example, you can set Group ID on the execution for a certain group (you want), and restrict the execution for Others (you don’t like at the moment):

chmod g+s,o-x /usr/bin/telnet

Then at any time you can grant the execution back to Others in a second. Also, as you can see from man, you have more options when working with groups annd users.

Collapse -

Restrict Telnet users

by dennisbv In reply to Restrict Telnet users

Poster rated this answer

Collapse -

Restrict Telnet users

by dennisbv In reply to Restrict Telnet users

This question was closed by the author

Back to Linux Forum
15 total posts (Page 2 of 2)   Prev   01 | 02

Related Discussions

Related Forums