140 lines
5.3 KiB
Plaintext
140 lines
5.3 KiB
Plaintext
//
|
|
// Generated by sm1-html-2-json5 version:0.5 Chameleon version:4.5.4 On Python:3.12.3 at 2025-05-15 11:11:25
|
|
//
|
|
{
|
|
'PackageName': 'remoteuseraccess-params',
|
|
'prefix': '',
|
|
'MenuHeading': 'Miscellaneous',
|
|
'MenuDescription': 'remoteuseraccess-params',
|
|
'MenuNavigation': '2000 400',
|
|
'firstPanel': 'PARAMS',
|
|
'signalEvent': 'smeserver-remoteuseraccess-params-update',
|
|
'html': [
|
|
{
|
|
'Name': 'params',
|
|
'route': 'PARAMS',
|
|
'Header': 'Change user remote access settings',
|
|
'SubHeader': 'Manage remoteuseraccess-params settings:',
|
|
'Link1': {
|
|
'Type': 'Link',
|
|
'href': 'https://wiki.koozali.org/SME_Server:Download',
|
|
'title': 'https://wiki.koozali.org/SME_Server:Download'
|
|
},
|
|
'Paragraph1': 'Enabling bash shell access for a user account poses a security risk. Only use this option if you know what you are doing. A safer option is to allow rssh access (sftp, ssh & rsync).',
|
|
'Paragraph2': 'Sudo access allows users to execute commands with the permissions of the root account without knowing the root password. This is more desirable than passing around the root password. Setting Sudo to yes also sets the shell to bash',
|
|
'Paragraph3': 'SHELL, VPN & FTP access for users depend on the settings in the Remote Access Panel being opened.',
|
|
'Paragraph4': 'Select an FTP Chroot path from the drop down box or enter it in the text field, the selection will overwrite the text field.',
|
|
'Paragraph5': 'Enter the public SSH Keys to allow ssh access without passwords, keys should be pasted as a single line, but they will wrap onto three or more lines in the display. To delete all keys type deletekeys.',
|
|
'Input1': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'Shell',
|
|
'Label': 'Shell',
|
|
'Options': [
|
|
{
|
|
'Value': '',
|
|
'Text': ''
|
|
},
|
|
{
|
|
'Value': '/bin/bash',
|
|
'Text': '/bin/bash'
|
|
}
|
|
]
|
|
},
|
|
'Input2': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'Sudoer',
|
|
'Label': 'Sudoer',
|
|
'Options': [
|
|
{
|
|
'Value': 'no',
|
|
'Text': 'No'
|
|
},
|
|
{
|
|
'Value': 'yes',
|
|
'Text': 'Yes'
|
|
}
|
|
]
|
|
},
|
|
'Input3': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'VPNClientAccess',
|
|
'Label': 'VPNClientAccess',
|
|
'Options': [
|
|
{
|
|
'Value': 'no',
|
|
'Text': 'No'
|
|
},
|
|
{
|
|
'Value': 'yes',
|
|
'Text': 'Yes'
|
|
}
|
|
]
|
|
},
|
|
'Input4': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'ChrootDir2',
|
|
'Label': 'ChrootDir2',
|
|
'Options': [
|
|
{
|
|
'Value': '',
|
|
'Text': ''
|
|
},
|
|
{
|
|
'Value': 'home',
|
|
'Text': '. ~/home'
|
|
},
|
|
{
|
|
'Value': '/home/e-smith/files',
|
|
'Text': '.. /home/e-smith/files'
|
|
},
|
|
{
|
|
'Value': '/home/e-smith/files/ibays/Primary',
|
|
'Text': 'Primary'
|
|
},
|
|
{
|
|
'Value': '/home/e-smith/files/ibays/Primary/files',
|
|
'Text': 'Primary/files'
|
|
},
|
|
{
|
|
'Value': '/home/e-smith/files/ibays/Primary/html',
|
|
'Text': 'Primary/html'
|
|
},
|
|
{
|
|
'Value': '/home/e-smith/files/ibays/mesdb',
|
|
'Text': 'mesdb'
|
|
},
|
|
{
|
|
'Value': '/home/e-smith/files/ibays/mesdb/files',
|
|
'Text': 'mesdb/files'
|
|
},
|
|
{
|
|
'Value': '/home/e-smith/files/ibays/mesdb/html',
|
|
'Text': 'mesdb/html'
|
|
}
|
|
]
|
|
},
|
|
'Input5': {
|
|
'Type': 'Text',
|
|
'Value': '/home/e-smith/files/users/cok1/home',
|
|
'Name': 'ChrootDir',
|
|
'Label': 'ChrootDir'
|
|
},
|
|
'Input6': {
|
|
'Type': 'Textarea',
|
|
'Value': '',
|
|
'Name': 'sshKeys',
|
|
'Label': 'sshKeys'
|
|
},
|
|
'Input7': {
|
|
'Type': 'Submit',
|
|
'Value': 'Save',
|
|
'Name': 'Next',
|
|
'Label': 'Next'
|
|
}
|
|
}
|
|
]
|
|
} |