PDA

View Full Version : Possible to do?


uprise
09-27-2003, 03:17 PM
I wanted a site user command like in glftpd for people to view info about themselves. Now i know i can just add the command into the ini, but i want it so only u can view your OWN info with it, and not be able to site user others. Can't figure out how i could do that with flags or is it even possible?

ADDiCT
09-27-2003, 03:21 PM
tried ioGroups (http://www.ioftpd.com/board/showthread.php?s=&threadid=1407&pagenumber=4) yet ? :)
users can see their own info with "site myinfo"

Mouton
09-27-2003, 03:22 PM
me = !..\text\ftp\uinfo.msg

you can't use that for other users, since it only parse uinfo.msg (using env. variables) and echo it.

ADDiCT
09-27-2003, 03:24 PM
come to think of it, a simple myinfo = @uinfo %[$user] should do the trick as well actually

edit: or not... users would need access to the uinfo command, and thereby being able to see other users info as well

uprise
09-27-2003, 04:30 PM
Originally posted by Mouton
me = !..\text\ftp\uinfo.msg


Worked, fair enough it just shows your info if you try site user someone else.


thx.