Get UID/GID from a username string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users@xxxxxxxxxxxxxxxx
- Subject: Get UID/GID from a username string
- From: Ben RUBSON <ben.rubson@xxxxxxxxx>
- Date: Fri, 15 Apr 2016 09:14:56 +0200
- Reply-to: users@xxxxxxxxxxxxxxxx
Hello,
I already do it with a RewriteMap Perl script, but perhaps a faster (in terms of performance) solution exists.
Let's assume an incoming request contains a username, is there a way to get the system UID of this username string (Linux/FreeBSD) ?
And from a UID string, to get the corresponding GID ?
Thank you very much,
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]