Well, actually I like to play with firewall configurations and I set up
unbound and dnscrypt-proxy and I wanted to limit the users that are able to
receive dns requests on localhost port 53. I was trying to figure out what
user was listening. I haven't tried it yet, but I figure it is _dhcp and
_un
Listing all users is trivial - I don't think that's what he's asking.
He's asking is "how do I list all *system* users", presumably in a way that
differentiates them from user accounts in some kind of authoritative way.
I don't think there is a way. You could:
- Assume all users < uid 1000 are
and...@msu.edu (STeve Andre'), 2017.05.06 (Sat) 20:37 (CEST):
> On 05/06/17 14:27, Luke Small wrote:
> > Is there a way to determine all users on a system that the users command
> > doesn't seem to show? like _x11 and _ntpd
users(1) - list current users
I'd try ps(1) and get all active users fro
On 05/06/17 14:27, Luke Small wrote:
Is there a way to determine all users on a system that the users command
doesn't seem to show? like _x11 and _ntpd
What's a user?
Maybe you want to look at /etc/passwd. The first four lines are
root:*:0:0:Charlie &:/root:/bin/ksh
daemon:*:1:1:The devil
Le 2017-05-06 20:27, Luke Small a écrit :
Is there a way to determine all users on a system that the users
command
doesn't seem to show? like _x11 and _ntpd
hello
system users has an uid < 1000 you can retrieve them like by parsing
/etc/passwd like this
awk -F ':' '{ if($2 < 1000) { print $
Is there a way to determine all users on a system that the users command
doesn't seem to show? like _x11 and _ntpd
6 matches
Mail list logo