Safe Haskell | None |
---|---|
Language | Haskell98 |
- data Eep = YesReallyDeleteHome
- accountFor :: UserName -> Property
- nuked :: UserName -> Eep -> Property
- hasSomePassword :: UserName -> Property
- hasSomePassword' :: IsContext c => UserName -> c -> Property
- hasPassword :: UserName -> Property
- hasPassword' :: IsContext c => UserName -> c -> Property
- setPassword :: UserName -> ((PrivData -> Propellor Result) -> Propellor Result) -> Propellor Result
- lockedPassword :: UserName -> Property
- data PasswordStatus
- getPasswordStatus :: UserName -> IO PasswordStatus
- isLockedPassword :: UserName -> IO Bool
- homedir :: UserName -> IO FilePath
- hasGroup :: UserName -> GroupName -> Property
- shadowConfig :: Bool -> Property
- shadowExists :: IO Bool
Documentation
accountFor :: UserName -> Property Source
hasSomePassword :: UserName -> Property Source
Only ensures that the user has some password set. It may or may not be the password from the PrivData.
hasSomePassword' :: IsContext c => UserName -> c -> Property Source
While hasSomePassword uses the name of the host as context, this allows specifying a different context. This is useful when you want to use the same password on multiple hosts, for example.
hasPassword :: UserName -> Property Source
Ensures that a user's password is set to the password from the PrivData. (Will change any existing password.)
hasPassword' :: IsContext c => UserName -> c -> Property Source
setPassword :: UserName -> ((PrivData -> Propellor Result) -> Propellor Result) -> Propellor Result Source
lockedPassword :: UserName -> Property Source
isLockedPassword :: UserName -> IO Bool Source
shadowConfig :: Bool -> Property Source
Controls whether shadow passwords are enabled or not.
shadowExists :: IO Bool Source