Many administration activities that work on other UNIX-derived operating systems, such as Linux and Solaris, work without change on AIX. But user administration commands are an exception. IBM has its own unique commands that operate similarly to legacy UNIX, but you have to know the equivalents. For example, rather than the UNIX standard "adduser" command, AIX has "mkuser." This cheat sheet gives you a quick guide to the differences so that you can exploit user administration tools and techniques you find in user forums and elsewhere on the web.
Here's a list of the most common UNIX user commands and their AIX equivalents:
| Function | UNIX Command | AIX Command |
|---|---|---|
| Create a user | useradd | mkuser |
| Change a user | usermod | chuser |
| Delete a user | userdel | rmuser |
| Change user's shell | usermod -s | chsh or passwd -s |
| Lock a user's account | passwd -l | chuser login=false |
Other user-oriented commands are nearly the same on AIX as its UNIX brethren:
| Function | AIX Command |
|---|---|
| Change password | passwd |
| Display current user details | whoami |
| List users currently logged in | who or w |
One thing AIX is famous for is giving administrators powerful commands that other UNIX variants lack. For user admin, AIX has the following unique yet useful commands. For example, to list all the users on the system, UNIX admins can only dump the /etc/passwd file. And to add or remove a users from a privilege control file, such as /etc/ftpusers, standard UNIX calls for directly editing the file—introducing the possiblity of devastating syntax errors. AIX has dedicated commands for these actions. Here's a summary of AIX "power" user commands:
| Function | AIX Command |
|---|---|
| List user account details | lsuser <username> |
| List all users | lsuser ALL |
| Print a table of specific user attrbutes | lsuser -a ALL |
| Check integrity of user accounts | usrck -t ALL |
| Add or delete user in /etc/ftpusers file | ruser -a -f or ruser -d -f |
| Add or delete user in /etc/host.lpd file | ruser -a -p or ruser -d -p |
| Add or delete user in /etc/hosts.equiv file | ruser -a -c or ruser -d -c |
| Show all users in /etc/ftpusers file | ruser -s -F (note upper-case) |
| Show all users in /etc/host.lpd file | ruser -s -P (note upper-case) |
| Show all users in /etc/hosts.equiv file | ruser -s -R (note upper-case) |
Armed with this cheat sheet, you're ready to begin adapting scripts and tricks from other UNIXes for your own AIX edification!
An iOS development bootcamp online provides intensive mobile training.It focuses on rapid skill building.This iOS development bootcamp online boosts confidence.It is effective.
ReplyDeleteAndroid developer online course offers flexible professional training. It explains advanced mobile development topics clearly. This android developer online course improves coding efficiency. Learners work on real-world projects. API integration is included. UI responsiveness is covered. Deployment guidance is explained. It builds confident professionals.
ReplyDeleteOur Dell dell boomi training cost
ReplyDeletesimplifies integration learning. Hands-on projects, API workflows, and deployment exercises prepare learners for real-world scenarios.
Fantastic overview! Upgrade your integration skills with our dell boomi training and placement
ReplyDeletecomprehensive, hands-on Dell Boomi course.
This MuleSoft developer course looks like a solid option for anyone interested in integration development.mulesoft developer course
ReplyDeletemule soft certification details are clearly explained and easy to follow.
ReplyDeletemule soft certification
ServiceNow trainings provide practical knowledge and industry-relevant skills needed to succeed in IT operations roles.service now trainings
ReplyDeleteServiceNow trainings are in high demand. Appreciate the clarity in this blog.
ReplyDeleteservice now trainings
ServiceNow admin courses are becoming increasingly popular as companies rely more on automation and digital workflows.servicenow administrator course
ReplyDeleteServiceNow online training allows you to learn at your own pace with access to real-time projects.servicenow online training
ReplyDeleteA detailed ServiceNow administrator course with practical exercises.servicenow administrator course
ReplyDeleteGreat post! dell boomi training and placement
ReplyDeletemakes integration seamless with its low-code platform, enabling faster development and scalable solutions for modern enterprises.
A useful course for becoming a certified ServiceNow administrator.servicenow administrator course
ReplyDeleteservice now admin course – ServiceNow admin course is great for beginners who want to start a career in ITSM administration.service now admin course
ReplyDeleteMuleSoft training in India is growing fast, and this resource looks valuable.MuleSoft Training India
ReplyDeleteProfessional training program focused on Salesforce CPQ configuration, pricing rules, and quote management processes.salesforce cpq training
ReplyDelete