2008-12-19
useradd: unable to lock password file
Useradd: unable to lock password file
Problem description:
Under Red Hat Linux release 9, use root to add a user, get error message as below:
useradd: unable to lock password file
Solution:
Needed to remove a lock file
Under the /etc directory, there are some lock files as:
group.lock
gshadow.lock
passwd.lock
shadow.lock
or
.pwck.lock
.pwd.lock
Remove them.
2008-12-16
How to install vista fonts on CentOS
Microsoft’s new ClearType fonts for Vista are great. The fonts include Constantia, Corbel, Calibri, Cambria, Candara and Consolas.
To install the Vista ClearType fonts in CentOS, you need to install cabextract first. You can use yum to install it:
Then, use following script to install the Vista fonts:
( http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer )
Then open up a text editor and copy and paste the script into that file.
Then run the script using:
The script downloads the Powerpoint Viewer
installer from microsoft.com, and then extracts the Vista cleartype
fonts using cabextract. These fonts are then installed in the ~/.fonts
directory.
Please remember that the ClearType Vista fonts are not free. You’ll be installing them at your own risk!
To install the Vista ClearType fonts in CentOS, you need to install cabextract first. You can use yum to install it:
$ yum install Cabextract |
( http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer )
#!/bin/sh |
Then open up a text editor and copy and paste the script into that file.
Then run the script using:
$ sh vista-fonts-installer.sh |
installer from microsoft.com, and then extracts the Vista cleartype
fonts using cabextract. These fonts are then installed in the ~/.fonts
directory.
Please remember that the ClearType Vista fonts are not free. You’ll be installing them at your own risk!
Subscribe to:
Posts (Atom)