Solved

RHEL User Management Script

Posted on 2014-03-18
4
273 Views
Last Modified: 2014-03-23
Does someone has a User Management script on RHEL, Which will create/delete, unlock, reset and set expiration date, a menu option is very much preferred. So can someone help.

If the user already exists, It should prompt that user also exist.
0
Comment
Question by:aanya247
4 Comments
 
LVL 13

Expert Comment

by:Daniel Helgenberger
ID: 39938253
I have none, and I would think not many have one because if you have many users to manage everyone will use a directory server of a kind (ldap, active directory, NIS...).

But of curse this is might not be helpful. If you provide a use case and the specs of your distro I think I or someone else can come up with something.
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39938909
Agree with Daniel

TY/SA
0
 
LVL 28

Accepted Solution

by:
serialband earned 500 total points
ID: 39939616
If you're talking about just the basic linux tools.  Redhat has the documentation on their site.
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Managing_Users_and_Groups.html

There's the Redhat User Manager GUI too, but I've never used that.
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-users-configui.html

I've only used the command line tools that are available on any standard linux/unix system.
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-users-tools.html


Otherwise, as things get more complex with more users, most admins would move on to a directory server as Daniel has mentioned.  It doesn't make sense to reinvent the wheel.
0
 
LVL 61

Expert Comment

by:gheist
ID: 39940882
useradd/usermod/userdel should fulfill your request (count the help text on wrong parameters as menu items if you like)
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
docker invalid registry name 2 107
Is this bug still active in RHEL 2 50
Virtualizing very old guest OS 4 80
Run DOS2UNIX and then execute the command 21 52
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now