Minimum Jail - How is that even possible ?

Hi,

I've found free shell server accounts and I was wondering, how has someone done that.

Look:
Code:
[bryn1u@shell ~]$ ls /
bin     dev     etc     home    lib     libexec sbin    tmp     users   usr     var
Only few configuration files ?
Code:
[bryn1u@shell ~]$ ls /etc/
csh.cshrc       group           localtime       profile         protocols       pwd.db          resolv.conf     services        termcap
Where are rest users ?
Code:
[bryn1u@shell /etc]$ cat group
users:*:2000:
[bryn1u@shell /etc]$
/etc/passwd doesn't exist ?
Code:
[bryn1u@shell /etc]$ cat /etc/passwd
cat: /etc/passwd: No such file or directory
[bryn1u@shell /etc]$
uname -a
Code:
[bryn1u@shell /]$ uname -a
FreeBSD 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255967M: Tue Oct  1 09:34:22 MDT 2013     root@shell.cjb.net:/usr/obj/usr/src/sys/CJB  amd64

Someone can tell me how can I "build" that jail ?
 
bryn1u said:
Thanks for your reply. Is that possible to do with jail ?
It doesn't need a jail to function but you should be able to configure your jail's sshd(8) like this. A chroot(8) within a jail(8) should be possible. Never tried it myself though.
 
Back
Top