Linting fixes + FileManager share start refactor
This commit is contained in:
parent
f7ae303062
commit
b15e2df3d3
11 changed files with 66 additions and 120 deletions
|
|
@ -56,6 +56,8 @@ func genericChangePass(ctx context.Context, sc *ssh.Client, user string, pwd str
|
|||
})
|
||||
}
|
||||
|
||||
type ChangePassFunc func(ctx context.Context, sc *ssh.Client, user string, pwd string) error
|
||||
|
||||
func ChangeUnixPass(ctx context.Context, sc *ssh.Client, user string, pwd string) error {
|
||||
return genericChangePass(ctx, sc, user, pwd, "passwd")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue