|
|
azactam
銅驢友〔初級〕
. 積分: 128
. 文章: 230
. 收花: 630 支
. 送花: 7613 支
. 比例: 12.08
. 在線: 2782 小時
. 瀏覽: 49157 頁
. 註冊: 7267 天
. 失蹤: 1 天
|
|
|
|
|
|
|
#1 : 2009-12-5 01:54 PM
全部回覆
|
送花
(3)
送出中...
|
|
|
When a user successfully logs in, sshd does the following:
1. If the login is on a tty, and no command has been specified,
prints last login time and /etc/motd (unless prevented in the
configuration file or by ~/.hushlogin; see the FILES section).
2. If the login is on a tty, records login time.
3. Checks /etc/nologin; if it exists, prints contents and quits
(unless root).
4. Changes to run with normal user privileges.
5. Sets up basic environment.
6. Reads the file ~/.ssh/environment, if it exists, and users are
allowed to change their environment. See the
PermitUserEnvironment option in sshd_config(5).
7. Changes to user's home directory.
8. If ~/.ssh/rc exists, runs it; else if /etc/ssh/sshrc exists,
runs it; otherwise runs xauth. The ``rc'' files are given the
X11 authentication protocol and cookie in standard input. See
SSHRC, below.
9. Runs user's shell or command.
[azactam 在 2009-12-5 01:55 PM 作了最後編輯]
[如果你喜歡本文章,就按本文章之鮮花~送花給作者吧,你的支持就是別人的動力來源]
|
|