In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
AIX is how to increase users and groups, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
Increase users
# useradd-d / home/wasuser-m wasuser or smitty user
Set password
# passwd wasuser
Add group
# mkgroup wasgrp
Add users to a group
# chuser pgrp=wasgrp wasuser
View the group to which the user belongs
# groups wasuser
Wasuser: wasgrp staff
Security reinforcement of user names and groups
/ etc/security/passwd
The ADMCHG entry in the flags entry indicates that the password needs to be changed when logging in for the first time. It is worth noting that if the user has root permission, it is not the user's password but the password of the root account that is changed for the first time, so be very careful.
Wasuser:
Password = Ie3Mxk0R8TCuw
Lastupdate = 1384161772
Flags = ADMCHG
/ etc/security/user
There are many items in this file, of which the most commonly used are as follows:
Admin = whether this is the administrator or not
Login = whether this represents whether you can log in as ssh or telnet, and if it is only a user of ftp, this can be set to false
Rlogin = whether you can rlogin
Umask = user's permission to create files after login
Maxexpired = user password expiration time in weeks
Loginretries = the number of passwords that the user can try
There are many items, you can check the / etc/security/user file, which has a very detailed explanation.
After reading the above, have you mastered how AIX can increase users and groups? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.