AIX - Scheduling - Edit Scheduling
Using crontab command we can edit the scheduled job
#crontab –e
Here you have to mention i.e. at what jobs will be executed.
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)
#run at 2:15pm on the first of 6th month Saturday (comments)
15 14 1 6 6 #mkuser kumar
Kumar user will be created on mentioned time
NOTE:
Once crontab jobs completed, that output logs stored in /var/spool/cron/crontabs
Saturday, May 9, 2009
AIX - Scheduling - List Scheduling
AIX - Scheduling - List Scheduling
Using crontab command we can list scheduled job.
#crontab –l
The above command is list the scheduled jobs
Using crontab command we can list scheduled job.
#crontab –l
The above command is list the scheduled jobs
AIX - Scheduling
AIX - Scheduling
In Aix Os we can schedule jobs using crontab command; these jobs are executed in background at mentioned time.
If Administrator want to create five users on next week, but next week system administrator is out of country, that time admin can schedule this user creation job one week before using crontab command, so that server will create 5 users at scheduled time.
In this scheduling we can do following things.
1. List scheduling
2. Edit scheduling
3. Clear scheduling
4. Assign user permissions
In Aix Os we can schedule jobs using crontab command; these jobs are executed in background at mentioned time.
If Administrator want to create five users on next week, but next week system administrator is out of country, that time admin can schedule this user creation job one week before using crontab command, so that server will create 5 users at scheduled time.
In this scheduling we can do following things.
1. List scheduling
2. Edit scheduling
3. Clear scheduling
4. Assign user permissions
AIX - Group Management - Remove Group
AIX - Group Management - Remove Group
Using rmgroup command we can remove a group, If we want to remove oracle group.
#rmgroup oracle
After this command execution oracle group removed and group configuration information removed from /etc/groups files.
Using rmgroup command we can remove a group, If we want to remove oracle group.
#rmgroup oracle
After this command execution oracle group removed and group configuration information removed from /etc/groups files.
AIX - Group Management - Change Group
AIX - Group Management - Change Group
Using chgroup command we can change the group information’s.
#chgroup options oracle
Using chgroup command we can change the group information’s.
#chgroup options oracle
Friday, May 8, 2009
AIX - Group Management - List Group
AIX - Group Management - List Group
Using lsgroup command we can list group information’s. If we want to list oracle group information
#lsgroup oracle (it will display the oracle group information’s, gname, gid, members)
#lsgroup all (It will list all group details)
Using lsgroup command we can list group information’s. If we want to list oracle group information
#lsgroup oracle (it will display the oracle group information’s, gname, gid, members)
#lsgroup all (It will list all group details)
AIX - Group Management - Create Group
AIX - Group Management - Create Group
Using mkgroup command we can create the group, If you want to create oracle group.
#mkgroup oracle
After this command execution new oracle group has created and this group is added in /etc/groups file.
Using mkgroup command we can create the group, If you want to create oracle group.
#mkgroup oracle
After this command execution new oracle group has created and this group is added in /etc/groups file.
AIX - Group Management
AIX - Group Management
In group management the below operations can be performed.
1. Create group
2. List group
3. Change group
4. Remove group
In group management the below operations can be performed.
1. Create group
2. List group
3. Change group
4. Remove group
AIX - User Management - Set Password
AIX - User Management - Set Password
Using passwd command we can set password for user and root
#passwd Test
Enter new password: *****
Confirm password: *****
We are changing password for Test user from root path, it will not ask existing password for Test user, because root is administrator login.
If you are changing password from Test login, it will ask existing password, because user should know the existing password before changing the new password. Otherwise any user can change the Test user password. This not recommended security.
$pwd
/home/Test
$passwd Test
Enter the old password: *****
Enter the new password: *****
Confirm password again: *****
NOTE: If you are forgotten root password that time what you will do.
Answer: boot the server with BOS Cd and go to maintenance mode, access the rootvg, then you can change the password for root.
Like this we can change the password for users.
Using passwd command we can set password for user and root
#passwd Test
Enter new password: *****
Confirm password: *****
We are changing password for Test user from root path, it will not ask existing password for Test user, because root is administrator login.
If you are changing password from Test login, it will ask existing password, because user should know the existing password before changing the new password. Otherwise any user can change the Test user password. This not recommended security.
$pwd
/home/Test
$passwd Test
Enter the old password: *****
Enter the new password: *****
Confirm password again: *****
NOTE: If you are forgotten root password that time what you will do.
Answer: boot the server with BOS Cd and go to maintenance mode, access the rootvg, then you can change the password for root.
Like this we can change the password for users.
AIX - User Management - Remove User
AIX - User Management - Remove User
Using rmuser command we can remove the user, If you want to remove Test user
#rmuser Test
After this command execution, Test user will be deleted.
Using rmuser command we can remove the user, If you want to remove Test user
#rmuser Test
After this command execution, Test user will be deleted.
Subscribe to:
Posts (Atom)