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)
Friday, May 8, 2009
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.
Thursday, May 7, 2009
AIX - User Management - Change User
AIX - User Management - Change User
Using chuser command we can change user properties, i.e. user home directory, shell group, etc. except password
Whenever you create a user that user home directory by default created in /home file system, and default group is staff.
If we want to change the Test user group to system, then your command will be.
#lsuser Test (it will show Test user properties including group information)
#chuser pgrp=system Test (now Test user is assigned to primary group system and secondary group is assigned to staff)
#lsuser Test (It will list modified Test properties, group is system, staff)
Like this we can change all the user properties
Using chuser command we can change user properties, i.e. user home directory, shell group, etc. except password
Whenever you create a user that user home directory by default created in /home file system, and default group is staff.
If we want to change the Test user group to system, then your command will be.
#lsuser Test (it will show Test user properties including group information)
#chuser pgrp=system Test (now Test user is assigned to primary group system and secondary group is assigned to staff)
#lsuser Test (It will list modified Test properties, group is system, staff)
Like this we can change all the user properties
AIX - User Management - List User
AIX - User Management - List User
Using lsuser command we can list the user properties, i.e. user home directory, shell, group, etc. except password
#lsuser all (It will list all the user information’s except password)
#lsuser Test (It will list only Test user information’s except password)
Using lsuser command we can list the user properties, i.e. user home directory, shell, group, etc. except password
#lsuser all (It will list all the user information’s except password)
#lsuser Test (It will list only Test user information’s except password)
AIX - User Management - Create User
AIX - User Management - Create User
Using mkuser command we can create a new user, If you want to create new user Test,
#mkuser Test
After this command execution, Test home directory created in /home/Test/
Test user configuration details stored in /etc/passwd
Now you can login the terminal using Test user name without password.
Then you have to set the password for Test user using command passwd
#passwd Test
Enter new password: ******
Confirm password again: ******
After this command execution password assigned to Test user and Test user password configuration entry added in /etc/security/passwd.
NOTE: user configuration data stored in /usr/lib/security/mkuser.sys
Whenever login the server that last login information’s stored in /etc/security/lastlog file.
Using mkuser command we can create a new user, If you want to create new user Test,
#mkuser Test
After this command execution, Test home directory created in /home/Test/
Test user configuration details stored in /etc/passwd
Now you can login the terminal using Test user name without password.
Then you have to set the password for Test user using command passwd
#passwd Test
Enter new password: ******
Confirm password again: ******
After this command execution password assigned to Test user and Test user password configuration entry added in /etc/security/passwd.
NOTE: user configuration data stored in /usr/lib/security/mkuser.sys
Whenever login the server that last login information’s stored in /etc/security/lastlog file.
AIX - User and Group Management
AIX - User and Group Management
In user management, we can perform the below operations:
1. Create user
2. List user
3. Change user
4. Remove user
5. Set password for users
In user management, we can perform the below operations:
1. Create user
2. List user
3. Change user
4. Remove user
5. Set password for users
Wednesday, May 6, 2009
AIX - NFS - Remove Imported File System
AIX - NFS - Remove Imported File System
Using smitty rmnfsmnt command we can remove the mounted file system from client end.
#smitty rmnfsmnt
Then one smitty screen will appear. Specify the mounted file system name or press Esc+4 keys, for system analyze and show the mount file system, then you mention from the list also. After this command execution, which mounted file system will be removed from the client PC. Now you put mount command, that removed file system is not listed.
Like this we can export and import the network file system.
Using smitty rmnfsmnt command we can remove the mounted file system from client end.
#smitty rmnfsmnt
Then one smitty screen will appear. Specify the mounted file system name or press Esc+4 keys, for system analyze and show the mount file system, then you mention from the list also. After this command execution, which mounted file system will be removed from the client PC. Now you put mount command, that removed file system is not listed.
Like this we can export and import the network file system.
Subscribe to:
Posts (Atom)