OpenVZ Forum


Home » General » Support » Cannot set password
Re: Cannot set password [message #49317 is a reply to message #49302] Sat, 20 April 2013 10:40 Go to previous messageGo to previous message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
--save flag is useless, so don't use it

from man vzctl:

--userpasswd user:password
Sets password for the given user in a container, creating the user if it does not exists. Note that this option is not saved in configuration file at all (so --save flag is useless), it is applied to the container (by modifying its /etc/passwd and /etc/shadow files).

In case container root filesystem is not mounted, it is automatically mounted, then all the appropriate file changes are applied, then it is unmounted.

Note that container should be created before using this option.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: 042stab076.5 and mount options behavior (remount)
Next Topic: Template contribution
Goto Forum:
  


Current Time: Sun Jan 25 12:15:59 GMT 2026

Total time taken to generate the page: 0.40007 seconds