Details
Description
changeToSecureUid.sh might collide with existing user if it is not a local user but a network managed user
Currently we are doing
function find_available_uid() { for ((i=1001; i<=2000; i++)) do grep -q $i /etc/passwd if [ "$?" -ne 0 ] then newUid=$i break fi done }
This will only check local user. Network manged users are not directly present inside passwd file.
Attachments
Attachments
Issue Links
- links to