mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-16 20:24:15 +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)
|
||
|
}
|