Logo
Explore Help
Sign In
IntenseWebs/grafana
3
0
Fork 0
You've already forked grafana
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
4fad827acde5072f0372b7898d4991fc7a4654d7
grafana/pkg/infra/process/process.go

6 lines
108 B
Go
Raw Normal View History

Chore: Add WARN log if grafana server process is running with elevated privileges (#35205) * warn on linux * add warning for grpc plugins * add windows support * update go.mod * reorganize imports * update naming * remove Windows logic * simplify and add check for when UID and EUID don't match * fix build * tidy go.mod * feedback * cleanup + migrate
2021-09-13 17:46:47 +02:00
package process
func IsRunningWithElevatedPrivileges() (bool, error) {
return elevatedPrivilegesCheck()
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 107ms Template: 1ms
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