Find all users and services registered in the system:
Find all users registered in the system:
cat /etc/passwd | grep “/home”
To add a user to a group:
usermod -G<group> <user>
To delete a user and their home directory: (Users can have a “home” directory)
userdel -r <user>
Things i came across setting up VPS (servers) on linux. In the midst of creating a domain i created users and webmin failed on me, and when i fixed the issue webmin failed on me again saying this user was already existed on the unix system. Please feel free to comment.
Having problems installing PHP 5.2 on Cent OS, I could only get yum to update PHP to 5.1.2. This was not acceptable considering I’m installing Magento on the server. I need at least PHP 5.2 to have Magento run properly, or as close as Magento gets to proper.
I got the following code from this Web Developer: http://www.christianmontoya.com/2008/10/01/upgrading-php-and-installing-apc-on-centos-5-with-plesk/
Run the following 2 lines to upgrade PHP to version 5.2
wget-q-O-http://www.atomicorp.com/installers/atomic.sh | sh
yum update php
Now check which version of PHP you are running:
Ifthishasn'tupdated restart your apache installation: