|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Disabling SSH direct access for an AIX user
Hello everyone, Can anyone help me please. I want to disable SSH direct access for an AIX user. For example, if I have USER1 and USER2. I want to disactivate direct access for USER2. The user must enter his login (USER1) and his password and then he can do Code:
su - USER2 . Thanks, |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
It should be enough to use: Code:
# chuser rlogin=false USER2 You may also want to turn off "local/console" logins as well. Code:
# chuser login=false rlogin=false USER2 Additionally, you can create a special group and put USER1 (i.e. any user permitted to su to USER2 account) into that group (e.g., su_user2) Code:
# chuser sugroups=su_user2 USER2 |
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
It works. Thank you MichaelFel.
|
|
#4
|
|||
|
|||
|
Your welcome - Happy Holidays!
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| does disabling requiretty in sudo have security implications with SSH? | kettlewell | UNIX for Dummies Questions & Answers | 0 | 10-05-2010 03:28 PM |
| Direct/scsu access to unix account | runnerpaul | Solaris | 2 | 05-21-2010 09:00 AM |
| ssh - disable direct root login | mahesh_raghu | Linux | 1 | 04-14-2010 04:18 AM |
| Force user to use ssh/prevent telnet access | peragin | UNIX for Dummies Questions & Answers | 4 | 09-21-2009 11:07 AM |
| Direct disk access | Lopatonosec | Programming | 3 | 05-31-2005 12:39 PM |
|
|