All Packages Class Hierarchy This Package Previous Next Index
Class Acme.UnixUser
java.lang.Object
|
+----Acme.UnixUser
- public class UnixUser
- extends Object
A Unix user.
This just encapsulates access to /etc/passwd, equivalent to
the Unix getpwnam() and getpwuid() routines.
Fetch the software.
Fetch the entire Acme package.
-
UnixUser(int)
- Constructor by userid.
-
UnixUser(String)
- Constructor by username.
-
getEncPasswd()
-
-
getGroupid()
-
-
getHomeDir()
-
-
getLoginShell()
-
-
getRealName()
-
-
getUserId()
-
-
getUserName()
-
UnixUser
public UnixUser(String name) throws IOException
- Constructor by username.
- Throws: IOException
- if something goes wrong
UnixUser
public UnixUser(int id) throws IOException
- Constructor by userid.
- Throws: IOException
- if something goes wrong
getUserName
public String getUserName()
getEncPasswd
public String getEncPasswd()
getUserId
public int getUserId()
getGroupid
public int getGroupid()
getRealName
public String getRealName()
getHomeDir
public String getHomeDir()
getLoginShell
public String getLoginShell()
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs