Logo
Explore Help
Sign In
TheArchive/yggdrasil-go
1
0
Fork 0
You've already forked yggdrasil-go
mirror of https://github.com/yggdrasil-network/yggdrasil-go.git synced 2025-08-26 23:17:52 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
neil/greentea
yggdrasil-go/cmd/yggdrasil/chuser_other.go

11 lines
313 B
Go
Raw Permalink Normal View History

argument to change uid/gid (#927) different from https://github.com/yggdrasil-network/yggdrasil-go/pull/817 in that it can resolve user names, automatically use user's primary gid & allows specifying gid in the same argument, with `:` eg `username:groupname`. feel free to criticize & suggest different argument name & description because i didn't put much of thought to that. --------- Co-authored-by: Neil <git@neilalexander.dev> Co-authored-by: VNAT <xepjk@protonmail.com> Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2024-09-22 15:46:54 +00:00
//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris
// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
package main
import "errors"
func chuser(user string) error {
return errors.New("setting uid/gid is not supported on this platform")
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.4 Page: 78ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API