6,534
edits
Changes
m
# '''vzctl start 101'''
''[This command starts Container 101, if it is not started yet]''
→Setting root Password for Container: no need to start CT
Setting the root user password is necessary for connecting to a Container via SSH. By default, the root account is locked in a newly created Container, and you cannot log in. In order to log in to the Container, it is necessary to create a user account inside the Container and set a password for this account, or unlock the root account. The easiest way of doing it is to run:
# '''vzctl set 101 --userpasswd root:test'''