public class ShadowStatements extends Object
Constructor and Description |
---|
ShadowStatements() |
Modifier and Type | Method and Description |
---|---|
static ReplaceShadowPasswordEntryOfLoginUser |
resetLoginUserPasswordTo(com.google.common.base.Function<String,String> cryptFunction,
String password)
note must be run as root, and will either reset the root password, or whoever sudoed to root.
|
public static ReplaceShadowPasswordEntryOfLoginUser resetLoginUserPasswordTo(com.google.common.base.Function<String,String> cryptFunction, String password)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.