Add NLA security and PAM Authentication support in weston RDP backend

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Add NLA security and PAM Authentication support in weston RDP backend

Add NLA security and PAM Authentication support in weston RDP backend

Test Environment:

i.MX8MP EVK

L6.6.52(weston12)

 

Background

Current RDP only supports TLS authentication, but does not support the NLA feature or PAM password authentication. Therefore, the connection security of RDP will be very low, and you can even login remotely without the correct username and password.

This article implements the NLA feature and PAM password authentication base on weston rdp backend, which supports customized user and login.

 

1.Patches

patch weston-imx with add_rdp_pam_nla_support.patch

patch meta-imx with add_pam_support_and_weston_user.patch

 

2.Generate keys on Ubuntu

rename key as server.crt and server.key

sudo apt-get install winpr-utils   

winpr-makecert -rdp -path  ~/

copy server.crt and server.key from Ubuntu to /etc/freerdp/keys/ on i.MX board

3. Enable start-on-startup=true in weston.ini

 

4.Install Remmina on Ubuntu.

 

5.Generate SAM file on board and Ubuntu: /etc/winpr/SAM(SAM is a file, not a directory) and copy hash into /etc/winpr/SAM

The username weston and passwd has been set in add_pam_support_and_weston_user.patch.

username: weston

passwd: weston

domain: domain

 

$ winpr-hash  -u weston -d domain -p weston -v1 -f sam
weston:domain::b2ca4ec6a1dbd13c49b6ab5e1b10d5bf:::
$ vi /etc/winpr/SAM

 

6.Access with Remmina on Ubuntu.

Zhiming_Liu_1-1737093217446.png

7.Result

Zhiming_Liu_0-1737093197855.png

 

 

 

添付
評価なし
バージョン履歴
最終更新日:
‎01-16-2025 11:14 PM
更新者: