I need to permit some users to use the downloader service, users that are not in the admin (or similar) group: how can permit this?
Posts by lnoferin
-
-
Found the problem: the cron job was for a user, not a system job and the user was unable (don't know why) to modifiy that job but using the command crontab -u user -e I managed to change that job!
Thanks a lot for the help!
-
How can you not find it? A crontab is not really a file and cannot exist for a user that doesn't exist. Are you sure it isn't in /etc/cron.d/?
Yes, I am sure I cannot find the relevant file in any directory related to cron, e.g. /etc/cron.d and other.
I think that this crontab job as mine it is located somewhere like openmediavault db or something similar.
Consider that my installation is really old but it is regularly updated to the last stable version.
P.S.: sorry for the delay of this reply and thanks a lot for your help!
--
Openmediavault 7.7.9-1 | 64 bit | 6.12.27+bpo-amd
-
OMV doesn't use crontab. crontab -e is the proper way to edit a user's crontab. If you want to edit it as root, you can: crontab -u username -e
So what is the best way to remove the old crontab I cannot find?
--
Openmediavault 7.7.9-1 | 64 bit | 6.12.27+bpo-amd64
-
I need to change an user crontab so I tried to change with the command
Quotecrontab -e
from the user shell but the result was not the expected because the cron job did not change remaining the same as before.
I tried to find where this cron job was saved but I did not find.
What is wrong?
Thanks for all replies.
-
The key was actually changed in little parts because I did not want to put the real one in this forum for the ethernity

-
Since then I decided to do 95% of everything via the terminal.
What is the command to add a ssh key with the terminal? (ssh-copy-id does not work for me in OMV)
-
Can not reproduce the problem. How does the SSH pub key looks like?
Something like this
Codessh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDI4e71WtyHgR39kau7IatCvx6hgvfD4epxhT/2GHGREACNMLOUYpeaQhae4494UyMqhdfthadvAapOscgJ6iNOk4nLTCRu/ltvw4ALT50iKIe3WhNo/cf5poWKxBsBjTGDgt5NA05mNRBQAdwbn96kQmtLwvkqLCtpJTxogSXbzVxw5hGR9PD01WlgPKJhN29CPcC5o2jA8edRgi7zeLPbWcB9iB+nw076N6OZaGr5a6T9eTFz5aq4ImSZzNm9CRtYazPV3aKK0BB59GT/kYTTt1mUFKeDhye2M3OWLc+Zb8zaGwFtHGYIxnnMjugqzBLB5oqfMx58ORIj2y7Zhuuhpfs9Xg/hnw6kr6mo35+ZbU/7qRcpK1vIhRK3vMs/riPgbar/JKODy0IO2j7tcXl5ZVkuZYrh43CC90wg0U3rnS14avKCNdVijLcIBSCDQkfAApu9eKJH7buMTFxQ4WfRDBMTfCqwCUyzDTNeFzDiiEb0WtaOTJxJvmmUrAFuIelE=The web gui takes it normally
-
If I try to add a ssh key for a user via the web gui I get this error
Code
Display MoreFailed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; ssh-keygen -e -m RFC4716 -f '/tmp/0DxNJq' 2>&1' with exit code '255': Load key "/tmp/0DxNJq": invalid format OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; ssh-keygen -e -m RFC4716 -f '/tmp/0DxNJq' 2>&1' with exit code '255': Load key "/tmp/0DxNJq": invalid format in /usr/share/php/openmediavault/system/process.inc:217 Stack trace: #0 /usr/share/php/openmediavault/ssh/publickey.inc(73): OMV\System\Process->execute(Array) #1 /usr/share/openmediavault/engined/rpc/usermgmt.inc(492): OMV\Ssh\PublicKey->toRfc4716() #2 [internal function]: Engined\Rpc\UserMgmt->setUser(Array, Array) #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array) #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setUser', Array, Array) #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('UserMgmt', 'setUser', Array, Array, 1) #6 {main}and the key is not installed.