![]()
Archive for the ‘CentOS 5’ Category
Update system
Posted by sanjaydalal4u on September 29, 2009
Posted in Update system | Leave a Comment »
Configure Services in CentOs5/RHEL5
Posted by sanjaydalal4u on September 29, 2009
1) List All services
![]()
2) List Running services at Runlevel 3
![]()
3) Start service

4) Stop service

5) Start service on different RunLevel

6) Restart services
![]()
7) Add services

8 ) Remove Services

Posted in Configure Services | Leave a Comment »
CentOS5/RHEL5 User Administration
Posted by sanjaydalal4u on September 29, 2009
1) Add User

2) Delete user

3) Modify user

4) Add Group

5) Delete group
![]()
6) Modify group

7) Add User to Group
Use useradd command to add new users to existing group (or create a new group and then add user). If group does not exist, create it. Syntax:
Syntax:
useradd -G {group-name1},{group-name2} username (for secondary group)
useradd -g {group-name} username (for primary group)

Posted in User Administration | Leave a Comment »