Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Direct Loggin Using Root SSH

Status
Not open for further replies.

mrbernsca

MIS
Jan 10, 2008
15
0
0
CA
I was reading through the forums trying to find how to do the following:

Disable using direct login with the root account to AIX 5.X server. I have changed the user settings to rlogin and remote login to false but it still works.

Any ideas?

Thx.
 
SSH uses files in /etc/ssh. The one that you're looking for is: /etc/ssh/sshd_config

Find the following line:
PermitRootLogin yes

and change to
PermitRootLogin no

You'll need to refresh the /usr/sbin/sshd process to enable the change.
 
or /usr/local/etc/sshd_config if you compile from open source and take the default options.
 
Thx, I did that originally but I forgot to stop and start the subsystem.

Thx.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top