From: Bhavik on 18 Mar 2010 11:21 Hi, For our project we are using Solaris box. After our build completion we keep kits to one directory and let users to access it by FTP session. So we create user account on Solaris and share this info. to respective group of user. I want to change this part and implement it like, 1.- Let user to login to ftp server with its one of the property login as 'anonymous' ... but change is, user/password = 'anonymous/@client- server' 2.- When user login as 'anonymous' run some script to check for its password. Based on that update this to log file. The main idea is to avoid creating new user on server and by just validating password, can process which user has logged in. So is it possible to run any script on server when any user logged in through FTP server? Thanks in advance.
From: Doug McIntyre on 19 Mar 2010 11:03 Bhavik <bhavikdbavishi(a)gmail.com> writes: >For our project we are using Solaris box. >After our build completion we keep kits to one directory and let users >to access it by FTP session. >So we create user account on Solaris and share this info. to >respective group of user. >I want to change this part and implement it like, 1.- Let user to >login to ftp server with its one of the property login as >'anonymous' ... but change is, user/password = 'anonymous/@client- >server' >2.- When user login as 'anonymous' run some script to check for its >password. Based on that update this to log file. >The main idea is to avoid creating new user on server and by just >validating password, can process which user has logged in. >So is it possible to run any script on server when any user logged in >through FTP server? I'm not sure what the diff is for you at all, but to each their own. But what you want is not available in general. Specialized FTP daemons would. Ie. ncftpd has a scriptable backend authentication system. Some other Opensource ftpd's have different authentication systems that are pluggable as well. Or you may even be satifisfied by their virtual user systems, where they'll map all virtual logins to a single unix login using different passwords (ie. ncftpd and proftpd support this).
From: Casper H.S. Dik on 19 Mar 2010 11:16 Doug McIntyre <merlyn(a)geeks.org> writes: >I'm not sure what the diff is for you at all, but to each their own. >But what you want is not available in general. Specialized FTP daemons would. >Ie. ncftpd has a scriptable backend authentication system. >Some other Opensource ftpd's have different authentication systems >that are pluggable as well. Or you may even be satifisfied by their >virtual user systems, where they'll map all virtual logins to a single >unix login using different passwords (ie. ncftpd and proftpd support this). It is also possible that you have a system which uses PAM; you can create a specific PAM module which runs a script and which authenticates the user without adding it somewhere Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth.
From: Bhavik on 20 Mar 2010 00:49 On Mar 19, 8:03 pm, Doug McIntyre <mer...(a)geeks.org> wrote: > Bhavik <bhavikdbavi...(a)gmail.com> writes: > >For our project we are using Solaris box. > >After our build completion we keep kits to one directory and let users > >to access it by FTP session. > >So we create user account on Solaris and share this info. to > >respective group of user. > >I want to change this part and implement it like, 1.- Let user to > >login to ftp server with its one of the property login as > >'anonymous' ... but change is, user/password = 'anonymous/@client- > >server' > >2.- When user login as 'anonymous' run some script to check for its > >password. Based on that update this to log file. > >The main idea is to avoid creating new user on server and by just > >validating password, can process which user has logged in. > >So is it possible to run any script on server when any user logged in > >through FTP server? > > I'm not sure what the diff is for you at all, but to each their own. > > But what you want is not available in general. Specialized FTP daemons would. > Ie. ncftpd has a scriptable backend authentication system. > > Some other Opensource ftpd's have different authentication systems > that are pluggable as well. Or you may even be satifisfied by their > virtual user systems, where they'll map all virtual logins to a single > unix login using different passwords (ie. ncftpd and proftpd support this). Thanks for reply and suggestion ... I check with ncftpd it is fine for me .
|
Pages: 1 Prev: implementing a remote shell, redirections Next: trace wget http header into apache log |