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
When I try to right click now instead of getting the menu it goes into a new tab showing recent searches.I have to go back and right click again to get the menu and do what I wanted in the first place.Is there a way to fix this.This is really irritat [More]
I tried to just delete, it says permission denied. I tried changing permissions on the file and got denied. I try going to it as superuser, I enter the password and it just sits and never responds. No wrong pw, no moving forward. I got omnidisksweepe [More]
ipod touch stays on blue screen  cant see anything else. please help?Did you try to reset your device by holding the sleep and home button until the Apple logo comes back again? iPhone and iPod touch: Frozen and unresponsiveRead other 2 answers [More]
I have a 2012 MBP currently running OSX Mountain Lion. I have had no issues connecting my MBP to my HDTV, however, when I watch a TV show or movie in Full Screen I am unable to use the MBP desktop. Is this possible, and where can I change the setting [More]
Recently My 5610 restarted and then when i turn on nokia screen comes and white colour on screen appears and the phone does not move ahead of it When i connect it to pc using data cable it is not detected what should i do ???????????????????????????? [More]
My ethernet card stopped functioning about a week ago, at the time I thought my cable had died and did not think to much of it. Then I checked the cable in my desktop computer and it worked fine and was able to connect to my router as well as the int [More]
Hi Gurus, Y v r nt configuring the Idoc and HTTP adapter on sender side. But on d receiver side v r configuring. Why? IDoc and HTTP Adapters are built on ABAP stack.That's y v r nt configuring on d sender side.It is the same thing also on d receiver [More]
A friend alerted me to some of my content being used as ringtones on the iTunes market via iPhone. She emailed me the links to the offending ringtones (which I can't check myself since there's apparently no way to view them without owning an iPhone.) [More]
in win8 that I have been install it on my macbook pro, system time automatically change after each time i set correct local time. i was disable automatic time in win8 configuration, but that's not work. i have a same problem with my previews system b [More]
Dear Experts:          We are using SAP CRM to create a FS saving account quotation. We also want the quotation to replicated to BaS to create a banking contract.  I accessed CRM WebUI with FS manager to create a quotation with "a saving account prod [More]