vzauth

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
EXAMPLES
SEE ALSO
COPYRIGHT

NAME

vzauth − authenticate a user in a CT

SYNOPSIS

vzauth [-t system|pleskadmin] [-g gid] ctid user

DESCRIPTION

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.

DIAGNOSTICS

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

EXAMPLES

echo ’passwd’ | vzauth 1 root

SEE ALSO

crypt(3)

COPYRIGHT

Copyright (c) 1999-2015 Parallels IP Holdings GmbH. All rights reserved.