OpenVZ Forum


Home » General » Support » run vzctl under a different user
run vzctl under a different user [message #45441] Sat, 10 March 2012 09:28
sspaise is currently offline  sspaise
Messages: 1
Registered: March 2012
Location: n/a
Junior Member
Hi All,

I am attempting to setup an SSH based gateway with which our customers can control their containers through.

Heres how its setup:

1) user logs in with publickey
2) user is dropped to bash script with options for management using sudo

When a user attempts to use my script, i receive the following error:

Sorry, user test is not allowed to execute '/usr/sbin/vzctl enter ' as root on vztest.

Does anyone know a workaround for this?
I know this already works with xen as we are already using this method. would be great to get it working with openvz aswell!

Any help is appreciated.

- sspaise
Previous Topic: can't load ipv6 module due to service vz is started
Next Topic: How to ulogd on VE??
Goto Forum:
  


Current Time: Wed Aug 14 11:04:51 GMT 2024

Total time taken to generate the page: 0.02894 seconds