-1
我在嘗試安裝oracle代理時遇到以下錯誤!SSH錯誤任何想法?
May 28 18:21:18 fgv246 sshd[23880]: Accepted publickey for em12c-srvc from 10.xxxxxxx port 16263 ssh2
May 28 18:21:18 fgv246 sshd[23880]: Accepted publickey for em12c-srvc from 10.xxxxxxx port 16263 ssh2
May 28 18:21:18 fgv246 sshd[23880]: pam_unix(sshd:session): session opened for user em12c-srvc by (uid=0)
May 28 18:21:18 fgv246 sshd[23880]: pam_unix(sshd:session): session opened for user em12c-srvc by (uid=0)
May 28 18:21:18 fgv246 sudo: em12c-srvc : sorry, you must have a tty to run sudo ; TTY=unknown ; PWD=/home/em12c-srvc ; USER=em12c-srvc ; COMMAND=/bin/sh -c id
May 28 18:21:18 fgv246 sudo: em12c-srvc : sorry, you must have a tty to run sudo ; TTY=unknown ; PWD=/home/em12c-srvc ; USER=em12c-srvc ; COMMAND=/bin/sh -c id
這樣做的竅門!但我仍然有疑問!我怎樣才能做到這一點只有一個用戶,而不是適用於所有的規則? –
發現解決方案應該是這樣的:default:username!requiretty –