查出用户UID最大值的用户名、UID及shell类型
[09:08:01 root@centos8 ~]#cat /etc/passwd |cut -d: -f1,3,7|sort -t: -k2 -n |tail -n1
nobody:65534:/sbin/nologin
[09:08:01 root@centos8 ~]#cat /etc/passwd |cut -d: -f1,3,7|sort -t: -k2 -n |tail -n1
nobody:65534:/sbin/nologin