sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #18835
Re: ftpwho - hvilken access fil ?
Martin wrote:
>
> Hejsa :)
>
> Kommandoen ftpwho fra wu-ftp og som viser hvem der er logged ind paa
> ftp serveren lige nu - virker kun som root, almindelige brugere har
> aabenbart ikke adgang til en vis access fil:
>
> ---
> [martin@kanon martin]$ ftpwho
> ftpcount: could not open() access file: Permission denied
> [martin@kanon martin]$
> ---
>
> Er der nogle der ved hvilken access fil der er tale om her ? -
rene@loreto 501 $ which ftpwho
/usr/bin/ftpwho
rene@loreto 502 $ file /usr/bin/ftpwho
/usr/bin/ftpwho: ELF 32-bit LSB executable, Intel 80386, version 1,
dynamically linked (uses shared libs), stripped
rene@loreto 503 $ strings !$ | grep access
strings /usr/bin/ftpwho | grep access
/etc/ftpaccess
ftpcount: could not open() access file
ftpcount: could not stat() access file
Svaret et så /etc/ftpaccess
--
René Seindal (rene@xxxxxxxxxx) http://www.seindal.dk/rene/
References