|
Bugzilla – Full Text Bug Listing |
| Summary: | Yast2-ftp-server with pure-ftpd installed: can't login with specified user, anonymous only; configuration problems | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.2 | Reporter: | denixx baykin <denixx.baykin> |
| Component: | YaST2 | Assignee: | Michal Filka <mfilka> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | alexandre, denixx.baykin, forgotten_eaqMy2E5O_, locilka |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 12.2 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | y2logs6 | ||
|
Description
denixx baykin
2012-09-17 09:45:46 UTC
Maybe I am doing something wrong. I do not find useful info on opensuse wiki about that issue. Xinetd config: Server: /usr/sbin/pure-ftpd server args: -A -c10 -C3 -z -D -fftp -H -I15 -lpam -L10000:8 -m4 -s -u40 -x -r -i -k99 -G -Z -Y0 Additional info: I created user "test" with password "123456". Added this user to group "ftp". I disabled login to system for this user. When i try to login, FileZilla Client says (it's Google translated): "Status: Connecting to 10.43.10.162:21 ... Status: Connection established, waiting for welcome message ... Answer: 220-Welcome to Pure-FTPd. Answer: 220-You are user number 1 of 10 allowed. Answer: 220-Local time is now 13:34. Server port: 21. Answer: 220-IPv6 connections are also welcome on this server. Answer: 220 You will be disconnected after 15 minutes of inactivity. Team: USER test Reply: 331 User test OK. Password required Team: PASS ****** Answer: 530 Login authentication failed Error: Fatal Error Error: Unable to connect to server" When I enable login to system for user "test", FileZilla says (it's also translated): "Status: Connecting to 10.43.10.162:21 ... Status: Connection established, waiting for welcome message ... Answer: 220-Welcome to Pure-FTPd. Answer: 220-You are user number 1 of 10 allowed. Answer: 220-Local time is now 13:40. Server port: 21. Answer: 220-IPv6 connections are also welcome on this server. Answer: 220 You will be disconnected after 15 minutes of inactivity. Team: USER test Reply: 331 User test OK. Password required Team: PASS ****** Error: Connection closed by server Error: Unable to connect to server" When I set anonymous access: "Status: Connecting to 10.43.10.162:21 ... Status: Connection established, waiting for welcome message ... Answer: 220-Welcome to Pure-FTPd. Answer: 220-You are user number 1 of 10 allowed. Answer: 220-Local time is now 13:42. Server port: 21. Answer: 220-IPv6 connections are also welcome on this server. Answer: 220 You will be disconnected after 15 minutes of inactivity. Team: USER anonymous Answer: 230 Anonymous user logged in Team: OPTS UTF8 ON Response: 200 OK, UTF-8 enabled Status: Connected Status: Retrieving directory listing ... Team: PWD Reply: 257 "/" is your current location Status: Directory listing extracted" edit: "Team:" - it's a "Command:" ;) /var/log/messages Sep 17 16:01:56 denixxwork pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Sep 17 16:01:56 denixxwork pure-ftpd: pam_loginuid(pure-ftpd:session): set_loginuid failed Sep 17 16:01:56 denixxwork systemd-logind[571]: New session c71 of user test. Sep 17 16:01:56 denixxwork systemd-logind[571]: Removed session c71. Sep 17 16:05:36 denixxwork pure-ftpd: (?@10.43.10.162) [INFO] New connection from 10.43.10.162 Sep 17 16:05:36 denixxwork pure-ftpd: pam_loginuid(pure-ftpd:session): set_loginuid failed Sep 17 16:05:36 denixxwork systemd-logind[571]: New session c76 of user test. Sep 17 16:05:36 denixxwork pure-ftpd: (?@10.43.10.162) [INFO] test is now logged in Sep 17 16:05:36 denixxwork systemd-logind[571]: Removed session c76. -=-=- It looks like pam denied auth before it was granted. Hi,could you please help to provide y2logs according to the following URL? http://en.opensuse.org/openSUSE:Bugreport_YaST Created attachment 506259 [details]
y2logs6
Seems that pam_systemd.so (from common-session) is the culprit. Thorsten, who could help with this, please (pam_systemd.so)? (In reply to comment #4) > Sep 17 16:01:56 denixxwork pure-ftpd: pam_loginuid(pure-ftpd:session): > set_loginuid failed That's a duplicate, pam_loginuid does not have write permissions to /proc/self/loginuid.so. Looks like a pure-ftpd dropping permission bug. Please merge all this pure-ftpd/loginuid bugs to one, don't know how many we have already and how many different people are working on it. This seems to be a duplicate. *** This bug has been marked as a duplicate of bug 789833 *** |