mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-26 06:55:48 +03: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)
|
||
|
}
|