|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--arlut.csd.ganymede.client.rpcpass
Command line application to update user account password, shell, and/or gecos information based on interaction with the rpc.yppasswdd daemon from the Linux NIS kit, versions 1.3.6.92 and above, using the -x option.
This client uses the ClientBase
client stub for communications with the server.
This code should be considered quasi-deprecatd, because the NIS passwd daemon can't pass plaintext to Ganymede, making it useless for updating Samba, md5 or NT password hashes.
| Field Summary | |
static java.lang.String |
cryptedpass
|
static java.lang.String |
gecos
|
private static arlut.csd.ganymede.client.ClientBase |
my_client
RMI object to handle getting us logged into the server, and to handle asynchronous callbacks from the server on our behalf. |
static java.lang.String |
oldpass
|
static int |
registryPortProperty
|
static java.lang.String |
rootname
|
static java.lang.String |
serverHostProperty
|
static java.lang.String |
shell
|
static java.lang.String |
username
|
| Constructor Summary | |
rpcpass()
|
|
| Method Summary | |
void |
disconnected(arlut.csd.ganymede.client.ClientEvent e)
Called when the server forces a disconnect. |
static boolean |
loadProperties(java.lang.String filename)
This method loads properties from the ganymede.properties file. |
static void |
main(java.lang.String[] argv)
|
void |
messageReceived(arlut.csd.ganymede.client.ClientEvent e)
Called when the ClientBase needs to report something to the client. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String serverHostProperty
public static java.lang.String rootname
public static int registryPortProperty
public static java.lang.String username
public static java.lang.String oldpass
public static java.lang.String cryptedpass
public static java.lang.String shell
public static java.lang.String gecos
private static arlut.csd.ganymede.client.ClientBase my_client
| Constructor Detail |
public rpcpass()
| Method Detail |
public static void main(java.lang.String[] argv)
public static boolean loadProperties(java.lang.String filename)
This method loads properties from the ganymede.properties file.
This method is public so that loader code linked with the Ganymede server code can initialize the properties without going through Ganymede.main().
public void disconnected(arlut.csd.ganymede.client.ClientEvent e)
Called when the server forces a disconnect.
Call getMessage() on the
ClientEvent
to get the reason for the disconnect.
disconnected in interface ClientListenerpublic void messageReceived(arlut.csd.ganymede.client.ClientEvent e)
Called when the ClientBase needs to report something to the client. The client is expected to then put up a dialog or do whatever else is appropriate.
Call getMessage() on the
ClientEvent
to get the reason for the disconnect.
messageReceived in interface ClientListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||