NaviServer - programmable web server
4.99  5.0

[ Main Table Of Contents | Table Of Contents | Keyword Index ]

ns_setprivileges(n) 4.99.30 naviserver "NaviServer Built-in Commands"

Name

ns_setprivileges - Set the current process privileges

Table Of Contents

Synopsis

Description

Sets the effective user or group ID of the current process. If the effective UID of the caller is root, the real UID and saved set-user-ID are also set.

COMMANDS

ns_setuser user
ns_setgroup group

EXAMPLES

 % ns_setuser nobody
 % ns_setuser 99
 % ns_setgroup nogroup
 % ns_setgroup 99

Keywords

GID, UID, group, permissions, server built-in, user