linux

package
v1.17.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chown

func Chown(path, username string) error

func CreateUser

func CreateUser(username string) error

func DaemonSshd

func DaemonSshd()

func DelUserPasswd

func DelUserPasswd(username string) error

func DeleteUser

func DeleteUser(username string) error

func PrepareSshDir

func PrepareSshDir(username string) error

func StartSshd

func StartSshd() error

func UserHomePath

func UserHomePath(username string) string

func UserKillAll

func UserKillAll(username string) error

func WriteAuthorizedKeys

func WriteAuthorizedKeys(username, publicKey string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL