org.jclouds.scriptbuilder.statements.login
Class ShadowStatements

java.lang.Object
  extended by org.jclouds.scriptbuilder.statements.login.ShadowStatements

public class ShadowStatements
extends Object

Statements used to manipulate the shadow file

Author:
Adrian Cole

Constructor Summary
ShadowStatements()
           
 
Method Summary
static ReplaceShadowPasswordEntryOfLoginUser resetLoginUserPasswordTo(String password)
          note must be run as root, and will either reset the root password, or whoever sudoed to root.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadowStatements

public ShadowStatements()
Method Detail

resetLoginUserPasswordTo

public static ReplaceShadowPasswordEntryOfLoginUser resetLoginUserPasswordTo(String password)
note must be run as root, and will either reset the root password, or whoever sudoed to root.



Copyright © 2009-2012 jclouds. All Rights Reserved.