Solved

RHEL User Management Script

Posted on 2014-03-18
4
272 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
Comment Utility
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
Comment Utility
Agree with Daniel

TY/SA
0
 
LVL 27

Accepted Solution

by:
serialband earned 500 total points
Comment Utility
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
Comment Utility
useradd/usermod/userdel should fulfill your request (count the help text on wrong parameters as menu items if you like)
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 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

15 Experts available now in Live!

Get 1:1 Help Now