On Thu, 2005-02-10 at 23:55, Christian Haugan Toldnes wrote: > (Feb 10 2005 07:27) Stephen Lee wrote: > > Hi Folks, > > > > I've got a Trustix 2.2 box running the usual Apache/Exim/MySQLvsSftp > > apps. While I was configuring Apache and vsftp, my login sessions got > > screwed-up. When I logon I get a message similar to the following: > > > > -bash: /home/users/testuser/.bash_profile: Permission denied > > Then check the permissions using commands like: > > id [username] > ls -la /home/users/testuser/ > > > > > but then it does let me login. I can move around in my home directory > > and add/delete files. However, I can't go outside of my home directory > > like /home/users. The last thing I remembered doing was playing with > > chroot and chroot-jail on vsftp. Could that affect non-ftp sessions? I > > haven't touched pam or passwd and the directory permissions seem fine to > > me. > > playing with vsftpd should not cause any such problems for other > applications unless you screw around with files not owned by the vsftpd > package. > > > > > My users can't even check their mail via pop3.The following error > > appears in the maillog: > > > > Feb 10 07:27:49 cspmail pop3d: LOGIN: DEBUG: ip=[::ffff:24.80.96.215], > > command=USER > > Feb 10 07:27:49 cspmail pop3d: LOGIN: DEBUG: ip=[::ffff:24.80.96.215], > > command=PASS > > Feb 10 07:27:49 cspmail pop3d: LOGIN: DEBUG: ip=[::ffff:24.80.96.215], > > [EMAIL PROTECTED] > > Feb 10 07:27:49 cspmail pop3d: chdir "/home/users/vmail/about123.com/": > > Permission denied > > Again, check permissions. Sounds like your uids may be a bit off the > chart.
Thanks for the tips Christian. I accidentially chrooted my users by choking off /home/users with root-only access. Stephen _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
