Sunday, July 3, 2011

How do enable root user log in with ssh in sun solaris?

How do enable root user log in with ssh in sun Solaris ?
--------------------------------------------------------

If you want to enable root login through ssh then you'll want to follow these two steps:

1) Open up /etc/ssh/sshd_config and set "PermitRootLogin" "no" to "yes".
(Your ISP probably set it to "without-password")
2) You also need to restart the sshd process. reboot the server
or
$ /etc/init.d/sshd restart
or
This is done by killing the existing one
(use ps -aux|grep sshd to get the process ID, then use kill it),then restarting /usr/sbin/sshd

1 comment:

goa Vardhan said...

before deleting schemas,i have taken a expdp as schema level ...after that i have drop that schema and also tablespace which i alter default tablespace ......

my query is .. i am trying to impdp to other schema in this operation getting error to me ....

can u please help me out ...