Re: Disabling some Karaf commands

2016-05-02 Thread Sergiy Shyrkov

Thank you for the prompt reply JB and Serge!
Changing the role of the command did it.

Kind regards
Sergiy

On Mon, 02 May 2016 18:51:46 +0200, Jean-Baptiste Onofré   
wrote:



Hi Sergiy,

you can change the ACL to this command to restrict to some users and  
disable it completely (in etc/org.apache.karaf.command.acl*).


Regards
JB

On 05/02/2016 04:40 PM, Sergiy Shyrkov wrote:

Hello,

It could be that this question was already asked before, but I cannot
find it in the mailing list archive :-(

Is there a proper way to disable particular console commands in Karaf,
say "system:shutdown"?

Thank you in advance!

Kind regards
Sergiy






--

Sergiy Shyrkov
Software Architect
jahia.com




Re: Disabling some Karaf commands

2016-05-02 Thread Jean-Baptiste Onofré

Hi Sergiy,

you can change the ACL to this command to restrict to some users and 
disable it completely (in etc/org.apache.karaf.command.acl*).


Regards
JB

On 05/02/2016 04:40 PM, Sergiy Shyrkov wrote:

Hello,

It could be that this question was already asked before, but I cannot
find it in the mailing list archive :-(

Is there a proper way to disable particular console commands in Karaf,
say "system:shutdown"?

Thank you in advance!

Kind regards
Sergiy



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Disabling some Karaf commands

2016-05-02 Thread Serge Huber
Maybe this could help ? 

http://coderthoughts.blogspot.ch/2013/10/role-based-access-control-for-karaf.html

cheers,
  Serge… 

> On 2 mai 2016, at 16:40, Sergiy Shyrkov  wrote:
> 
> Hello,
> 
> It could be that this question was already asked before, but I cannot find it 
> in the mailing list archive :-(
> 
> Is there a proper way to disable particular console commands in Karaf, say 
> "system:shutdown"?
> 
> Thank you in advance!
> 
> Kind regards
> Sergiy
> 
> -- 
> 
> Sergiy Shyrkov
> Software Architect
> jahia.com
> 
> 
>> JOIN OUR COMMUNITY to evaluate, get trained and to discover why Jahia is a 
>> leading User Experience Platform (UXP) for Digital Transformation.
> 
> 



Disabling some Karaf commands

2016-05-02 Thread Sergiy Shyrkov

Hello,

It could be that this question was already asked before, but I cannot find  
it in the mailing list archive :-(


Is there a proper way to disable particular console commands in Karaf, say  
"system:shutdown"?


Thank you in advance!

Kind regards
Sergiy

--

Sergiy Shyrkov
Software Architect
jahia.com


JOIN OUR COMMUNITY to evaluate, get trained and to discover why Jahia is  
a leading User Experience Platform (UXP) for Digital Transformation.