org.jclouds.scriptbuilder.statements.login
Class ReplaceShadowPasswordEntry
java.lang.Object
org.jclouds.scriptbuilder.statements.login.ReplaceShadowPasswordEntry
- All Implemented Interfaces:
- Statement
- Direct Known Subclasses:
- ReplaceShadowPasswordEntryOfLoginUser
public class ReplaceShadowPasswordEntry
- extends Object
- implements Statement
Replaces the password entry for a user in the shadow file, using SHA-512
crypt syntax.
- Author:
- Adrian Cole
ReplaceShadowPasswordEntry
public ReplaceShadowPasswordEntry(String login,
String password)
functionDependencies
public Iterable<String> functionDependencies(OsFamily family)
- Specified by:
functionDependencies
in interface Statement
render
public String render(OsFamily family)
- Specified by:
render
in interface Statement
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.