1836367 Members
2028 Online
110100 Solutions
New Discussion

How to restrict user

 
sdip
Advisor

How to restrict user

Hi all,

Is there any way to restrict user to login directly via telnet to certain application admin login id say oracle/informix etc.

We would like our user will login their individual login in & from there they can do su to those admin login.

Is there any way to setup the same ?
3 REPLIES 3
Peter Godron
Honored Contributor

Re: How to restrict user

Hi,
I'm not clear what you want to do.

If you want to push the user after login straight into an application add the command to start the application in the users .profile.

If you want the user to be able to use another account to run have a look at sudo.

You can also combine the two, of course.
Robert-Jan Goossens
Honored Contributor
Warren_9
Honored Contributor

Re: How to restrict user

hi,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=107258

the above is for restrict telnet on rootm, but you can apply the same stuff in the oracle/informix account.

just modify the .profile of the user and check if it is from the telnet then echo error and quit.

GOOD LUCK!!