How can i change the password for each email? And Emails which i send are not outgoing?
And also how can i make this so, the virtual machine are created, now the user has ssh, but i want that he only can view him folder! not other folders! or go out of his! of virtual machine
use jail-kit
Virtualmin â select domain/virtual server â Administration Options â Edit Owner Limits â section âOther restrictionsâ â at the bottom 'Chroot jail domain Unix user?
however you must add everything the user needs into the jail, this is needed because you have effectively blocked access for that user to any operating system binaries.
I would research how to use jailkit before you even attempt to jail a user. you will need to the jk_cp command to copy what is required into the jail.
This is a lot of work for very little (if any) gain as a linux system has a good user privilege system built in.
for example ssh into your server as a domain owner and try to view the files in another domain owners files ⊠you will get a permission denied error, they will not be able to any os files either as they donât have privilege to do so. Yes they will be able to see the OS system files but they can not mess with anything.
Again if you do opt use jailkit research it and learn how to use it before you apply it to a production server
Since weâre talking about chroot jails, Iâll continue in that vein, and encourage you to open new topics for your other questions.
Another option for preventing users from seeing the rest of the filesystem is to force use of FTP and the File Manager (or Upload and Download module), which âchrootsâ the user without actually using chroot, which is where all the complexity comes from. You do this by not giving them an interactive shell.
That obviously limits users quite a bitâŠthey canât run any commands, and can only upload/delete/edit files. But, if you really want to lock things down, giving users a shell makes things complicated.