Articles tagged with: passwd
Uncategorized »
root@hostmaster-laptop:~# vzctl set 1001 –name deb –nameserver “202.188.0.133 202.188.1.5” –diskspace 2G:2G –save
Name deb assigned
Saved parameters for CT 1001
Starting the container.
root@hostmaster-laptop:~# vzctl start 1001
Starting container …
Container is mounted
Adding IP address(es): 192.168.1.200
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: deb.inertz.org
File resolv.conf was modified
Container start in progress…
root@hostmaster-laptop:~# vzctl start 1001
Container is already running
Entering the container.
root@hostmaster-laptop:~# vzctl enter 1001
entered into CT 1001
deb:/#
Set ROOT password.
deb:/# passwd
Enter …
Uncategorized »
When the first time you installed Ubuntu, there is no password for root account. You have to set it first for a security reason.
You must type “sudo passwd”
hostmaster@hostmaster-desktop:~$ sudo passwd
[sudo] password for hostmaster:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
To login as root, type “su”
hostmaster@hostmaster-desktop:~$ su
Password:
root@hostmaster-desktop:/home/hostmaster#
The “#” indicate that you are login as root.