Hello,
I try to figure out on how to create device node with mknod for my chroot ssh user, as written in the man sshd_config:
I am a little bit lost with mknod, devfs, etc.
Regards,
L2f
I try to figure out on how to create device node with mknod for my chroot ssh user, as written in the man sshd_config:
I try to create the device but the manpage of mknod does not helpThe ChrootDirectory must contain the necessary files and directo-
ries to support the user's session. For an interactive session
this requires at least a shell, typically sh(1), and basic /dev
nodes such as null(4), zero(4), stdin(4), stdout(4), stderr(4),
arandom(4) and tty(4) devices.
the file /usr/src/sys/conf/majors does not exist, and I have the src.major The major device number is an integer number which tells the ker-
nel which device driver entry point to use. To learn what major
device number to use for a particular device, check
/usr/src/sys/conf/majors
I am a little bit lost with mknod, devfs, etc.
Regards,
L2f