* nss-mysql + chroot
@ 2005-11-04 20:26 Piotr Szczap
0 siblings, 0 replies; only message in thread
From: Piotr Szczap @ 2005-11-04 20:26 UTC (permalink / raw)
To: linux-admin
Hello list,
I have a problem with using nss-mysql and doing chroot. We are trying to
set up an FTP server on a system that is using nss-mysql for
authentication. We have set up the FTP server so that it chroot's to
user's home dir after the user authenticates. The problem is that when
the user lists files in his/her directory the username is displayed as
(?), eg:
drwxr-x--- 2 (?) ftp_corusant 4096 Feb 1 2005 sw0017
drwxr-x--- 3 (?) ftp_corusant 4096 Sep 21 21:30 sw0023
This happens because after the chroot operation FTP server looses access
to nss-mysql* files in /etc and so it cannot connect to the database.
However, if a user is in the local user database(/etc/passwd) his/her
name is displayed OK.
I'm out of ideas:( Could anyone suggest a workaround/solution other than
copying nss-mysql* file into user's directory??
TIA
Piotr Szczap
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-04 20:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-04 20:26 nss-mysql + chroot Piotr Szczap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).