mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-24 14:05:45 +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)
|
||
|
}
|