Hi all,
Hoping someone can help or point me in the right direction
I am looking to create a bash script to create local users using the ‘useradd’ command, however I need the accounts to be given a UID only from a certain range, so let’s say 1000-2000 and the UID also needs to be assigned backwards and counting down, so..
2000
1999
1998
etc..
Does anyone know a how I can achieve this?
I am running RHEL 7
Any help will be appreciated