PVE 3.3-2 cannot enter password for new user

apmuthu

Renowned Member
Feb 26, 2009
868
11
83
Chennai - India & Singapore
github.com
Created new user in GUI
Cannot add password in GUI and in CLI
The page at: http://pve.proxmox.com/wiki/User_Management needs to be updated
user@pam and not user@pve for PVE 3.3....

Code:
# pveum useradd survive@pam -comment 'Nice User'

# awk -F':' '{ print $1}' /etc/passwd
root
daemon
bin
sys
sync
games
man
lp
mail
news
uucp
proxy
www-data
backup
list
irc
gnats
nobody
libuuid
ntp
postfix
sshd
ais
statd

## The new user is not inthe above list

# pveum passwd survive@pam

Enter new password: ********
Retype new password: ********
change password failed: user 'survive' does not exist
 
[SOLVED]Re: PVE 3.3-2 cannot enter password for new user

1. Linux PAM needs the user to have been created in the Linux file System before adding to the PVE GUI.
Created a linux user with useradd survive (not adduser). Then entered the details in the PVE GUI as Linux PAM.

2. PVE Auth Server creates the user with the password as a virtual user in the PVE GUI outside of the linux file system.