1829500 Members
2247 Online
109991 Solutions
New Discussion

Access restriction !

 
Deependra
Occasional Advisor

Access restriction !

Hi,

Is there any way to restrict the users from loging in to a perticular system based on the user ID? If I restrict for telnet in inetd.sec file, the user can still log in using xterm or dtterm.

The requirement is to restrict users to the systems allocated to them. They should not be able to login to other systems. What is the best way to achive this?
4 REPLIES 4
Kent Ostby
Honored Contributor

Re: Access restriction !

Well, unless you are using a distributed password scheme, the obvious answer would be to remove the user from the /etc/passwd file.

What sort of password scheme are you using ?

NIS ?

or ???
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Deependra
Occasional Advisor

Re: Access restriction !

Hi,

I am using NIS !!

Thanks
Deependra
RAC_1
Honored Contributor

Re: Access restriction !

With NIS, you can restrict it using netgroup map. Other way would be putting some code in /etc/profile.

And also with tcp wrappers.

Anil
There is no substitute to HARDWORK
Kent Ostby
Honored Contributor

Re: Access restriction !

Netgroups seems to be the way to go.

A good document for that is: N2X941208001

Or use this link:

http://www2.itrc.hp.com/service/cki/search.do?category=c0&mode=id&searchString=N2X941208001&searchCrit=allwords&docType=EngineerNotes&search.x=24&search.y=12

best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"