linuxutil

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultShell = "/bin/sh"

Variables

This section is empty.

Functions

func NewUser

func NewUser(ctx context.Context, rootfs fs.FullFS, username string, uid int) error

NewUser adds an entry to the /etc/passwd file to create a new Linux user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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