Randomly sort the contents of the /etc/passwd file and display the first line of the output using the /tmp directory as the temporary directory.
sort --temporary-directory=/tmp -R /etc/passwd | head -n 1;