Hi, I want to allow a ssh command to all octopus instances.
Following the BOA Wiki, I added the command in /etc/lshell.conf, it works for octopus users, but after a while that command isn't available anymore
I researched, and discovered that the /etc/lshell.conf file it's recreated ever X minutes by a xdrago cron, copying this file /var/xdrago/conf/lshell.conf
So, if I want to to add a ssh, should I edit /var/xdrago/conf/lshell.conf instead of /etc/lshell.conf?
In that case I think the BOA wiki should be modified, because it explains a method to allow a ssh command, that doesn't work
tx
cheers!
Comments
Comment #1
omega8cc commentedYes, you should edit the config template: /var/xdrago/conf/lshell.conf
Feel free to modify the BOA wiki docs - it is a wiki :)
Comment #2
sluc23 commentedgreat, I wanted to be sure
BOA Wiki updated!
cheers
Comment #3
lunk rat commentedI edited /var/xdrago/conf/lshell.conf, added allowed command, and it updated /etc/lshell.conf
Still my command was forbidden for octopus lshell users. I had to wait, about 30 minutes, and magically it works.