-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A simple interface to shadow passwords (aka, shadow.h) -- -- Provides the ability to read a user entry from the shadow password -- database @package Unixutils-shadow @version 1.0.0 -- | support for etcshadow -- -- TODO: This module is modelled after System.Posix.User but lacks many -- of the #ifdefs. Those are probably important. module System.Unix.Shadow -- | Entry returned by getSUserEntryForName -- -- TODO: add other fields data SUserEntry SUserEntry :: String -> String -> SUserEntry -- | Textual name of this user (pw_name) sUserName :: SUserEntry -> String -- | Password -- may be empty or fake if shadow is in use (pw_passwd) sUserPassword :: SUserEntry -> String -- | getSUserEntryForName name calls getspnam to obtain -- the SUserEntry information associated with the user login -- name.p getSUserEntryForName :: String -> IO SUserEntry instance Show SUserEntry instance Read SUserEntry instance Eq SUserEntry