I have a server where I wish to run a process using screen. I start a screen using:
screen -S <screen_name>
Detach using ctrl+a+d
. But when try to reattach the screen using,
screen -r <screen_name>
It asks for screen password. Now I did not remember setting any password and the root user password do not work. How to reset this?
GNU Screen stores user's passwords in ~/.screenrc
and authenticates using PAM in /etc/pam.d/screen
.
Deleting ~/.screenrc
should solve the problem.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다