Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

virt-login-shell(1) [centos man page]

VIRT-LOGIN-SHELL(1)					      Virtualization Support					       VIRT-LOGIN-SHELL(1)

virt-login-shell - tool to execute a shell within a container matching the users name SYNOPSIS
virt-login-shell DESCRIPTION
The virt-login-shell program is a setuid shell that is used to join an LXC container that matches the user's name. If the container is not running, virt-login-shell will attempt to start the container. virt-sandbox-shell is not allowed to be run by root. Normal users will get added to a container that matches their username, if it exists, and they are configured in /etc/libvirt/virt-login-shell.conf. The basic structure of most virt-login-shell usage is: virt-login-shell OPTIONS
-h, --help Display command line help usage then exit. -V, --version Display version information then exit. CONFIG
By default, virt-login-shell will execute the /bin/sh program for the user. You can modify this behaviour by defining the shell variable in /etc/libvirt/virt-login-shell.conf. eg. shell = [ "/bin/ksh", "--login"] By default no users are allowed to use virt-login-shell, if you want to allow certain users to use virt-login-shell, you need to modify the allowed_users variable in /etc/libvirt/virt-login-shell.conf. eg. allowed_users = [ "tom", "dick", "harry" ] BUGS
Report any bugs discovered to the libvirt community via the mailing list "" or bug tracker "". Alternatively report bugs to your software distributor / vendor. AUTHORS
Please refer to the AUTHORS file distributed with libvirt. Daniel Walsh <dwalsh at redhat dot com> COPYRIGHT
Copyright (C) 2013 Red Hat, Inc., and the authors listed in the libvirt AUTHORS file. LICENSE
virt-login-shell is distributed under the terms of the GNU LGPL v2+. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE SEE ALSO
virsh(1), <> libvirt-1.1.1 2014-06-17 VIRT-LOGIN-SHELL(1)

Check Out this Related Man Page

virt-list-partitions(1) 				      Virtualization Support					   virt-list-partitions(1)

virt-list-partitions - List partitions in a virtual machine or disk image SYNOPSIS
virt-list-partitions [--options] domname virt-list-partitions [--options] disk.img [disk.img ...] OBSOLETE
This tool is obsolete. Use virt-filesystems(1) as a more flexible replacement. DESCRIPTION
"virt-list-partitions" is a command line tool to list the partitions that are contained in a virtual machine or disk image. It is mainly useful as a first step to using virt-resize(1). "virt-list-partitions" is just a simple wrapper around libguestfs(3) functionality. For more complex cases you should look at the guestfish(1) tool. OPTIONS
--help Display brief help. --version Display version number and exit. -c URI --connect URI If using libvirt, connect to the given URI. If omitted, then we connect to the default libvirt hypervisor. If you specify guest block devices directly, then libvirt is not used at all. --format raw Specify the format of disk images given on the command line. If this is omitted then the format is autodetected from the content of the disk image. If disk images are requested from libvirt, then this program asks libvirt for this information. In this case, the value of the format parameter is ignored. If working with untrusted raw-format guest disk images, you should ensure the format is always specified. -h --human-readable Show sizes in human-readable form (eg. "1G"). -l --long With this option, "virt-list-partitions" displays the type and size of each partition too (where "type" means "ext3", "pv" etc.) -t --total Display the total size of each block device (as a separate row or rows). SHELL QUOTING
Libvirt guest names can contain arbitrary characters, some of which have meaning to the shell such as "#" and space. You may need to quote or escape these characters on the command line. See the shell manual page sh(1) for details. SEE ALSO
guestfs(3), guestfish(1), virt-filesystems(1), virt-list-filesystems(1), virt-resize(1), Sys::Guestfs(3), Sys::Guestfs::Lib(3), Sys::Virt(3), <>. AUTHOR
Richard W.M. Jones <> COPYRIGHT
Copyright (C) 2009-2012 Red Hat Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. libguestfs-1.18.1 2013-12-07 virt-list-partitions(1)
Man Page