The following command can be used to list all the local users in linux.
cut -d: -f1 /etc/passwd
This will list all the local users in the system. This will not list all the users if it is integrated with LDAP or any other similar systems
cut -d: -f1 /etc/passwd
This will list all the local users in the system. This will not list all the users if it is integrated with LDAP or any other similar systems
No comments:
Post a Comment