允許root 用SSH登入Solaris的方法

| No Comments | No TrackBacks
  1. 輸入vi /etc/ssh/sshd_config
  2. 尋找 "PermitRootLogin", 並將 "no" 改成 "yes".
  3. 輸入
    kill -HUP `cat /var/run/sshd.pid`

    或者
    (bash shell 模式)
    kill -HUP $(cat /var/run/sshd.pid)

    或者

    /lib/svc/method/sshd restart

No TrackBacks

TrackBack URL: http://www.ode2forest.com/mt-tb.cgi/43

Leave a comment

About this Entry

This page contains a single entry by Gordon Lim published on October 17, 2009 10:39 PM.

在Lighttpd設定Rewrite was the previous entry in this blog.

在Solaris設定永久的環境變數 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.