Modify

Opened 5 years ago

Last modified 4 years ago

#12250 new defect

srelay reading /etc/passwd instead of /etc/shadow

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

When starting srelay with the arguments -a p for password authentication you have to add a separate user for srelay to auth. When it reads /etc/passwd it fails to read the hash since there is none provided in /etc/passwd. The only way around this is to copy the hash from /etc/shadow to /etc/passwd for the newly created user and then login to the srelay socks proxy that way. This should be fixed in the code so it reads /etc/shadow or there should be a wiki article about srelay on openwrt documenting how to setup srelay properly with OpenWRT. Thanks.

Attachments (2)

010-linux-shadow.patch (1.4 KB) - added by cat@… 5 years ago.
Patch against r33397
srelay_0.4.8b3-2_ar71xx.ipk (19.8 KB) - added by cat@… 5 years ago.
ipkg for ar71xx

Download all attachments as: .zip

Change History (8)

Changed 5 years ago by cat@…

Patch against r33397

Changed 5 years ago by cat@…

ipkg for ar71xx

comment:2 follow-up: Changed 5 years ago by anonymous

This is now working as "intended" it reads from /etc/shadow instead of /etc/passwd

comment:3 in reply to: ↑ 2 Changed 5 years ago by anonymous

Replying to anonymous:

This is now working as "intended" it reads from /etc/shadow instead of /etc/passwd

This function has achieved?

comment:4 Changed 5 years ago by anonymous

if used “-a p” , The user name and password exactly is what? Have no way to correct verification. Have what way?

comment:5 Changed 5 years ago by anonymous

@Attachment

comment:6 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.