Re: How to login to my jail from host itself (normal user)

2011-11-14 Thread Alejandro Imass
On Sat, Nov 12, 2011 at 9:54 PM, masayoshi rocksta...@y7mail.com wrote: Hi,I am masayoshi. If you have enough time, please answer my question. I must adduser Ayumi as normal user. After adding her in jail, I add her in host. Then I type the following command: Correct me if I'm wrong but I

Re: How to login to my jail from host itself (normal user)

2011-11-13 Thread Matthew Seaman
On 13/11/2011 02:54, masayoshi wrote: I must adduser Ayumi as normal user. After adding her in jail, I add her in host. Then I type the following command: # ln -s /usr/jails/www/home/ayumi /home When she logins, she is in /usr/jails/www/home/ayumi. But if she uses cd command, she can

Re: How to login to my jail from host itself (normal user)

2011-11-13 Thread Peter Vereshagin
Hello. 2011/11/13 09:23:57 + Matthew Seaman m.sea...@infracaninophile.co.uk = To masayoshi : MS On 13/11/2011 02:54, masayoshi wrote: MS I would like to keep her in jail because she is reckless. Wow! MS Now, if you want to support console based logins direct to a jail. As MS far as I

Re: How to login to my jail from host itself (normal user)

2011-11-13 Thread Matthew Seaman
On 13/11/2011 12:31, Peter Vereshagin wrote: I'd find it obvious to try to launch getty by mean of jexec by setting the command in /etc/ttys? Something like that: ttyv0 /usr/sbin/jexec `cat /var/run/some_jail.id` /usr/libexec/getty Pc cons25 on secure That might work.

Re: How to login to my jail from host itself (normal user)

2011-11-13 Thread perryh
Matthew Seaman m.sea...@infracaninophile.co.uk wrote: If you can rely on your user to follow instructions, then you can just tell them to 'ssh jailhost' immediately they login to the host ... Might it work equally well, and avoid the dependency on following instructions, to put exec ssh

Re: How to login to my jail from host itself (normal user)

2011-11-13 Thread masayoshi
- Original Message - From: per...@pluto.rain.com per...@pluto.rain.com To: m.sea...@infracaninophile.co.uk Cc: rocksta...@y7mail.com; freebsd-questions@freebsd.org Sent: Monday, 14 November 2011 3:02 PM Subject: Re: How to login to my jail from host itself (normal user) Matthew

How to login to my jail from host itself (normal user)

2011-11-12 Thread masayoshi
Hi,I am masayoshi. If you have enough time, please answer my question. I must adduser Ayumi as normal user. After adding her in jail, I add her in host. Then I type the following command: # ln -s /usr/jails/www/home/ayumi  /home When she logins, she is in /usr/jails/www/home/ayumi. But if she