<< to CrossControl homepage

Support & Service Center

Change user passwords

Printer-friendly versionPrinter-friendly versionPDF versionPDF version

In order to prevent security breaches, CrossControl strongly recommends changing the default passwords for root and ccs users!

1. Non-CCLinux devices

The term ‘non-CCLinux’ comprise of the devices:

• CCP VC/VA
• CCP XA/XS
• CCP XM2

To change the password for these devices, type the command ‘chpasswd’ and by entering a username:password pair, one pair per line. After entering first pair, type ‘Enter’. The text “Password for 'user1' changed” appears.
(To return to the command prompt, type <CTRL+D>.)


$ chpasswd
user1:passwd1
Password for 'user1' changed
user2:passwd2
Password for 'user2' changed
CTRL+D


To set passwords for several users contained in a file named 'mypwdfile', type the following:


$ cat mypwdfile | chpasswd

Note that mypwdfile must contain username:password pairs; one pair per line. For example:


user1:passwd1
user2:passwd2

...etc

2. CCLinux devices

To change the password of a device running CCLinux execute the following command and follow the instructions (replace user with your username):

$ sudo change-passwd user

The script 'change-passwd' has been created by CrossControl in order to ease the password change as CCLinux devices have a read-only rootfs.


Category: 
whatever