vzauth − authenticate a user in a CT
vzauth [-t system|pleskadmin] [-g gid] ctid user
This utility is used to authenticate the user in a CT ctid. User password is passed to stdin. This utility mounts the CT if it is unmounted, reads $VE_ROOT/etc/shadow and then uses crypt(3) to authenticate the user. If -g specified, user is checked to be a member of group gid.
0 |
access granted | ||
1 |
invalid parameters | ||
2 |
unable to read VE_ROOT from the CT configuration file. | ||
3 |
access denided | ||
4 |
unable to mount the CT | ||
5 |
unable to read the password | ||
6 |
unable to open /etc/shadow | ||
7 |
unable to open /etc/psa/.psa.shadow |
echo ’passwd’ | vzauth 1 root
crypt(3)
Copyright (c) 1999-2015 Parallels IP Holdings GmbH. All rights reserved.