Sitemap

Amicuk Programming Answers

Java code to reset UNIX password

-0001-11-30   Views:1

Advertisement

Hi I need to reset a password of remote UNIX machine through java. Please give me clues/commands by which i can implement this . If you have any info about command interfaces that unix gives on some ports for resetting by connecting through a socket

Hi I need to reset a password of remote UNIX machine through java.
Please give me clues/commands by which i can implement this .
If you have any info about command interfaces that unix gives on some ports for resetting by connecting through a socket you are most welcome.
My OS is HP-UX but other OS tricks are also expected.
NB. I have admin password in my hand , I need to reset another users password

The replay answer
Advertisement
thomas.behr,
You might be right person to answer me ,
Tell the command or methods for that . No I'm not the right person to answer you. I do have no knowledge on System Administration at all.
My question was meant for you to elaborate on why you think you need or why you want to use Java to reset user passwords. It just did not cross my mind that you might be trying to write a system administration tool in Java, since such tools are highly OS specific AFAIK.

Go to See the other 8 answers

Java code to reset UNIX password

Category:DefaultRelease time:-0001-11-30Views:130

Hi I need to reset a password of remote UNIX machine through java. Please give me clues/commands by which i can implement this . If you have any info about command interfaces that unix gives on some ports for resetting by connecting through a socket[More]

Can you write simple Java code in a UNIX function and run it? See example....

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I'm new to Java and I have a question. Is there any possible way a simple script like the below would work in a UNIX function called from a shell script. I know you're not supposed to do this but can you? Thanks in advance, javatst() {    $JAVA_H[More]

Returning User Password in Java code for custom reports

Category:DefaultRelease time:-0001-11-30Views:130

Hi I'm doing a custom report and for the life of me I can't seem to find the password field in the database. :( Anyways I'm thinking maybe I can use java code to return the password and then using the decrypt password function. Could someone please s[More]

Urget Help --- Please give me the core java code that connects to UNIX ser

Category:DefaultRelease time:-0001-11-30Views:130

Can anyone provide the core java code that connects UNIX server after verifying credentials and allow to implements UNIX commands through java program?no, you don't want to do that. You want to connect yourself, which Java is quite capable of doing,[More]

Reset Users Passwords

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I have added the following code for resetting the password of an account, but it appears to not work.                IUserAccountFactory accountFactory = UMFactory.getUserAccountFactory();                String uniqueId = accountFactory.getUserAc[More]

Java code to connect to unix box(putty)

Category:DefaultRelease time:-0001-11-30Views:130

i'm having a great problem regarding accessing the putty box from java code. I need to read some log files from unix through java code.In my client program when i'm giving hostname and port=22...ssh terminal is getting detected,but i'm confused how t[More]

Error resetting AD password LDAP: error code 19

Category:DefaultRelease time:-0001-11-30Views:130

I am getting following exceptions when i try to reset the password of some users in some of my Active directories. please help me //set password is a ldap modify operation                               ModificationItem[] mods = new ModificationItem[2[More]

How to specify a file path in java code to run on Unix machine?

Category:DefaultRelease time:2015-10-11Views:130

Hi I have a problem when running my project Swing on Unix machine. In my code, the user will press a button and then the program will look for the file "ReadMe" in the folder "Documentation" , and reads the content of this file. My cod[More]

Using Unix command lines in java code

Category:DefaultRelease time:2015-10-11Views:130

I was wondering if there was a way to run a unix command in java code. I know in C++ there is popen, but i don't know of a way in java. The command i need to run is the whois "domain name" command. Any help would be great! jaradtry something lik[More]

Using unzip from unix in java-code ...

Category:DefaultRelease time:2015-10-11Views:130

Hi people, i have problem, i want to use the command unzip from unix, to unzip a zip-file, the commend unzip must invoke from java-code. Can someone help me. I use the zip-api, but i have 100Mb zip-file, it needs very long time to unzip the zip-file.[More]

Invoke the command unzip from unix in java-code ...

Category:DefaultRelease time:-0001-11-30Views:130

Hi people, i have problem, i want to use the command unzip from unix, to unzip a zip-file, the commend unzip must invoke from java-code. Can someone help me. I use the zip-api, but i have 100Mb zip-file, it needs very long time to unzip the zip-file.[More]

Hot
i'm just upgrade my gf's PC from Windows XP to Vista. I find that I can't install itunes. As it said visualbsic script is missing or disabled. How can i solve it??I think it would be a good idea to scan for malware as malware often interferes with Wi [More]
I've been having problems with flash applications on browsers for the past year or two. What happens is that when a flash video starts, my browser will lag periodically. The sound will be present, but the video will freeze, and I will not be able to [More]
Hi all I have got a concert about how to set the guest system(Oracle Linux5) to use widescreen? appreciate whatever you can help! Thanks,You're looking for the VirtualBox forums. https://forums.virtualbox.org/ This forum is for discussion of Oracle V [More]
I am trying to download apps on my ipod but it says that i need ios and i dont know how to put that on my ipod.See below. http://support.apple.com/kb/HT4972Read other 2 answers [More]
need information abt ESS/MSS services?Hi Ramesh, Have a Look at this links. these links would be usefull for you since you are exploring EP Creating R/3 Backend System https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/24d8faf9- [More]
Hi, the jdbc dev. guide for 11g doesn't even mention the word ANYDATASET. However this data type is listed within the set of 11g jdbc new features. I will much appreciate any example about using it, e.i. assuming a schema defines a type containing a [More]
How can I specify the size of the line using the FM CONVERT_OTF_2_PDF? Regards, Aaronfunction convert_otf_2_pdf. *"*"Lokale Schnittstelle: *"  IMPORTING *"     VALUE(USE_OTF_MC_CMD) TYPE  C DEFAULT 'X' *"     VALUE(ARCHIVE_INDEX) [More]
Earlier I posted a crash report from a crash I had just had. Here is another (from a second crash during the same session). I suspect the cause is the same, as the crash was virtually identical in the way it occurred, except that this time there was, [More]
Hi guys, how I can see with one query if I got date overlapped? That's the scenario: Create table tabletest ( iddd int, datefrom datetime2, dateto datetime2) insert into tabletest values (1, '2014-01-01', '2014-02-06'), (2, '2014-01-01', '2014-03-15' [More]
Hi all, we are getting a lot of TDS Certificates from Customers. Now we are putting in TDS receivable account and putting customer code in Assignment field. Since it is an editable field and subject to wrong entry our users find it difficult to manag [More]