[lxc-devel] Command line syntax of utilities

Adam Majer adamm at zombino.com
Sat Jul 18 13:41:39 UTC 2009


Dietmar Maurer wrote:
> Another idea would be to use a single binary, and the following
> command syntax:
> 
> # lxc <command> <container> [OPTIONS]
> 
> Or is there a specific reason to use multiple binaries?

Some commands need root to run while others don't. It is possible to set
some suid (I think, never tried yet).

Git does it your way to not pollute /usr/bin space and everything is run
by a regular user. It still retains all the separate binaries, just not
directly callable.

Using a single binary is wrong because it removed flexibility in command
access from system administrator. It is also not the UNIX way :)

- Adam


-- 
Mail Etiquette
==============
* Quote properly or not at all. Top posters, this applies to you!
* When replying to posts on mailing lists, only address the mailing list
  unless poster explicitly requested you include them in CC




More information about the lxc-devel mailing list