Path: utzoo!attcan!uunet!wuarchive!usc!apple!bionet!ames!haven!adm!news From: wolf@grasp2.univ-lyon1.fr (Christophe Wolfhugel) Newsgroups: comp.unix.questions Subject: setuid, seteuid (problem with ftpd-logging) Message-ID: <25488@adm.brl.mil> Date: 13 Jan 91 18:49:42 GMT Sender: news@adm.brl.mil Lines: 17 Hi, I'm trying to adapt the ftpd-logging daemon to the RS/6000's AIX. The compile works file (with little change and specific compilation options), but once started, after logging in the system, I get the message "Can't set uid.". So, just to try I changed the seteuid to setuid, and I logged successfully to the system's ftp server but... no more possibility to execute a commande (such as dir or ls): "Unable to open data socket: permission denied". Can anyone help me in modifying the source code so that it works correclty? -- Christophe Wolfhugel | Email: wolf@grasp1.univ-lyon1.fr INSA Lyon - Departement Informatique | Fax: (+33) 72 44 08 00 69621 Villeurbanne Cedex, France | (Attn-To: Wolfhugel - C 210) Disclaimer: these are my own opinions, not my employer's.