jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] MOTD not working.


From: VDR User
Subject: Re: [Jailkit-users] MOTD not working.
Date: Thu, 12 Sep 2013 09:35:30 -0700

I didn't see any reference to /etc/motd in .bashrc, .profile, etc..  Instead I just created an empty file called .hushlogin in the jailed users home directory so rather than the real system /etc/motd, the user now sees no motd. Problem solved good enough. :)


On Thu, Sep 12, 2013 at 2:39 AM, Richard Scott <address@hidden> wrote:

Hi,

As far as I understand things that's the way it should work.

When you login to a server you are authenticating using the account details in the real /etc and then you get chrooted into /your jail for the shell.

The only way to provide a bespoke MOTD would be to update the .bashrc in the jailed users home directory.

Rich

On 11/09/2013 22:12, VDR User wrote:

Hi. I'm new to jailkit. I've got it working to my needs on a debian box except for the motd. In debian /etc/motd is a symlink to /var/run/motd. I just created a text file at /etc/motd in my jail dir but when I login as a jailed user, I'm still getting the motd from the system /etc/motd instead of the jailed /etc/motd. Other than that everything seems fine. Anyone have any ideas?

Thanks,
Derek

_______________________________________________
Jailkit-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/jailkit-users

_______________________________________________
Jailkit-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/jailkit-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]