I'd like a script which looks at 2 files, /etc/[login to view URL] and /etc/[login to view URL] and merges them with the system's current user and group lists.
I believe this should be a relatively simple task for anyone experienced in linux administration. I believe that this can be done either in shell script or in perl, although I would be willing to accept other tools. If tools already exist to do this task, I would be willing to pay a small amount for a link.
* The root user will not be touched.
* Users who exist in [login to view URL] but not on the existing system should be created, and their home directories created.
* Users who exist in [login to view URL] and on the existing system with the same UID should be left alone.
* Users who exist in [login to view URL] and on the existing system with different UIDs should have their UID changed to match [login to view URL] and have ownership of all their files changed (except files on any filesystem mounted read-only) to use the new UID
* Existing users on the system who are not mentioned in [login to view URL] should continue to exist. If their UID conflicts with a user mentioned in [login to view URL], they should be changed to the lowest non-conflicting UID over 500, and their files' ownership changed appropriately.
* Groups and their GIDs will be handled in exactly the same way as users and their UIDs.
* The list of group members for each group can be found by merging the lists of members from groups and [login to view URL] files - I believe that as /etc/groups contains a list of member usernames, this should not have any problems with the UID adjustments.
I did script writing many times. I also have team of certified and experienced users with me. We can write shell script for you.
I understand /etc/group file has simple entries. If there are multiple uids assigned to single gids, the script will be little complicated.
What about home directories for new users? Do those have similar standards all across your servers?
You have to provide all existing sample files, we will write and test the script on out systems and we will give out the final solution to you. That way you can avoid the risk of messing up your system.
$39 USD in 3 days
2.0 (1 review)
1.2
1.2
30 freelancers are bidding on average $88 USD for this job
I'm going to do a bash script which is based on awk, find, chmod. I think I will work 5 hours on it 1h/day. The big deadline comes because this is my first attempt to work as freelancer and I do it parallel with my full time job.
script on perl.
start of script on cron or in hand
similarly by a script will be created or finished writing log file, where time and action will be.
for onli freebsd or linux