Powered By Blogger

Thursday, April 21, 2011

Restricted access on Solaris Server

1) Create a group with the users who need access

sshuser::140:testuser,tomcat,apache

2) Modify /etc/ssh/sshd_config, add following line

AllowGroups sshuser

3) Restart the ssh service

#svcadm restart network/ssh:default

No comments:

Post a Comment

Welcome to the UNIX world