mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-17 10:58:29 -07:00
12 lines
290 B
Go
12 lines
290 B
Go
|
package aghos
|
||
|
|
||
|
// SetGroup sets the effective group ID of the calling process.
|
||
|
func SetGroup(groupName string) (err error) {
|
||
|
return setGroup(groupName)
|
||
|
}
|
||
|
|
||
|
// SetUser sets the effective user ID of the calling process.
|
||
|
func SetUser(userName string) (err error) {
|
||
|
return setUser(userName)
|
||
|
}
|