財神娛樂首存即享優惠回饋唷~詳情請進👉

為何sshhoya娛樂城評價 -host-config在Windows 8.1上的Cygwin中創立了兩個用戶

在測驗考試辦理在
Windows 8.1上使用Cygwin SSH的一些成績時,我想曉得為何ssh-host-config劇本創立兩個從頭最先設置OpenSSH的新帳戶? (這有需要嗎?)

當使用默許選擇權限進級以及服務裝置時,這兩個帳戶是:cyg_server以及sshd.我懂得第一個僅用于啟動Cygwin SSHd服務,但我不睬解第二個的功效.我搜刮了Cygwin的檔案,獨一的開發職員詮釋是“由于它的目的是為了這么做.”還倡議不要將它們用于現實登錄.
這是我的裝置:

———————————————————–
ssh-keygen: generating new host keys: RSA1 RSA DSA ECDSA ED25519
淫亂 Info: Creating default /etc/ssh_config file
淫亂 Info: Creating default /etc/sshd_config file
淫亂 Info: Privilege separation is set to yes by default since OpenSSH 3.3.
淫亂 Info: However,this requires a non-privileged account called ‘sshd’.
淫亂 Info: For more info on privilege separation read /usr/share/doc/openssh/README.privsep.
淫亂 Query: Should privilege separation be used? (yes/no) yes
淫亂 Info: Note that creating a new user requires that the current account have
淫亂 Info: Administrator privileges. Should this script attempt to create a
淫亂 Query: new local account ‘sshd’? (yes/no) yes
淫亂 Info: Updating /etc/sshd_config file

淫亂 Query: Do you want to install sshd as a service?
淫亂 Query: (Say “大眾no公眾 if it is already installed as a service) (yes/no) yes
淫亂 Query: Enter the value of CYGWIN for the daemon: []
淫亂 Info: On Windows Server 2003,Windows Vista,and above,the
淫亂 Info: SYSTEM account cannot setuid to other users — a capability
淫亂 Info: sshd requires. You need to have or to create a privileged
淫亂 Info: account. This script will help you do so.

淫亂 Info: You appear to be running Windows XP 64bit,Windows 2003 Server,淫亂 Info: or later. On these systems,it’s not possible to use the LocalSyst大樂透獎金分配em
淫亂 Info: account for services that can change the user id without an
淫亂 Info: explicit password (such as passwordless logins [e.g. public key
淫亂 Info: authentication] via sshd).

淫亂 Info: If you want to enable that functionality,it’s required to create
淫亂 Info: a new account with special privileges (unless a similar account
淫亂 Info: already exists). This account is then used to run these special
淫亂 Info: servers.

淫亂 Info: Note that creating a new user requires that the current account
淫亂 Info: have Administrator privileges itself.

淫亂 Info: No privileged account could be found.

淫亂 Info: This script plans to use ‘cyg_server’.
淫亂 Info: ‘cyg_server’ will only be used by registered services.
淫亂 Query: Do you want to use a different name? (yes/no) no
淫亂 Query: Create new privileged user account ‘cyg_server’? (yes/no) yes
淫亂 Info: Please enter a password for new user cyg_server. Please be sure
淫亂 Info: that this password matches the password rules given on your system.
淫亂 Info: Entering no password will exit the configuration.
淫亂 Query: Please enter the password:
淫亂 Query: Reenter:

淫亂 Info: User ‘cyg_serv妞妞牌型er’ has been created with線上真人麻將推薦 password ‘XXXXXXXXXX’.
淫亂 Info: If you change the password,please remember also to change the
淫亂 Info: password for the installed services which use (or will soon use)
淫亂 Info: the ‘cyg_server’ account.

淫亂 Info: Also keep in mind that the user ‘cyg_server’ needs read permissions
淫亂 Info: on all users’ relevant files for the services running as ‘cyg_server’.
淫亂 Info: In particular,for the sshd server all users’ .ssh/authorized_keys
淫亂 Info: files must have appropriate permissions to allow public key
淫亂 Info: authentication. (Re-)running ssh-user-config for each user will set
淫亂 Info: these permissions correctly. [Similar restrictions apply,for
淫亂 Info: instance,for .rhosts files if the rshd server is running,etc].

淫亂 Info: The sshd service has been installed under the ‘cyg_server’
淫亂 Info: account. To start the service now,call `net start sshd’ or
淫亂 Info: `cygrunsrv -S sshd’. Otherwise,it will start automatically
淫亂 Info: after the next reboot.

淫亂 Info: Host configuration finished. Have fun!
———————————————————–

此外,’cyg_server’是一個可見的帳戶,可用于Windows登錄,但’sshd’好像是隱蔽的.以是我得出的論斷是,我必需增添另一個第三個帳戶才能正常使用SSH,這望起來相稱瘋狂!
編纂1:不僅云云,sshd帳戶還有一個暗碼到期日期配置裝置后40天,并有一個暗碼(依據WMIC). (在ssh配置時代,我從未被要求輸出此帳戶的暗碼.)
做:wmic useraccount獵取AccountType,…,狀況:

AccountType Disabled Lockout Name PasswordChangeable PasswordExpires PasswordRequired Status
512 FALSE FALSE cyg_server TRUE FALSE TRUE OK
512 TRUE FALSE sshd TRUE 妞妞算牌 TRUE TRUE Degraded

以及凈用戶sshd:

User name sshd
Full Name sshd privsep
Comment
User’s comment
Country/region code 000 (System Default)
Account active No
Account expires Never
Password last set 2014-03-01 23:20:19
Password expires 2014-04-12 23:20:19
Password changeable 2014-03-01 23:20:19
Password required Yes
User may change password Yes
Workstations allowed All
Logon script
User profile
Home directory C:\cygwin64\var\empty
Last logon Never
Logon hours allowed All
Local Group Memberships *Users
Global Group memberships *None
The command completed succe算偏財運ssful捕魚達人apkly.

以是這又關上了兩個成績:
>甚么是暗碼配置和用戶未原告知的緣故原由這個?>為何此暗碼有到期日期?

【免責聲明】本站內容轉載自互聯網,其相關談吐僅代表作者小我私家概念盡非權勢巨子,不代表本站態度。如您發明內容存在版權成績,請提交相關鏈接至郵箱:,咱們將實時予以處置。