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
Ever since I have installed the latest update of iTunes 10.6.1 on my computer about ten days ago, iTunes Match will come on and try to synchronize my library to the iCloud.  As soon as it reaches step 3 to upload remaining tracks to the iCloud, iTune [More]
So, I've been dealing with a problem with my 2013 non-retina MBP. I've already had it into Apple to be looked at, and they replaced the hard drive and RAM. Unfortunately, it is now out of warranty, and the issues have returned. They are two-fold, and [More]
Hi all:      I want to create a namespace in IR for ECC, but don't know what value should and could be used for the namespace. is there any rule for the naming of a namespace?      Thank you very much!Hi, You can follow some standards as said For Nam [More]
select * from from cust b      LEFT OUTER JOIN      cust a      ON      (a.sales_date+1=b.sales_date)      WHERE TRIM(TO_CHAR(b.sales_date,'DAY')) IN ('SUNDAY','MONDAY','TUESDAY','WEDNESDAY','THURSDAY','FRIDAY')      AND b.sales_Date BETWEEN TO_DATE( [More]
my problem is that i have made a calendar by using jtable and i can't highlight or put any sign to keep track on date, but the biggest problem is that i have to submit this project after two days, so i will appreciate any help or tips from you. Here [More]
I cant log into adobe experience manager assets - Keeps telling me "unable to connect to the server.Try again or contact your administrator" I am already logged in with a user name and password into creative cloud but I also keep getting this me [More]
I have 400 mg file on my g4 tiger that needs to be down sized to no more than 9 mgs. I took a snapshot with frame grabber during slide show but then the file is only 1.8 mgs too small.........?You could try re-sizing the image via editing it; even in [More]
The error reads System.ComponentModel.Win32Exception: The system can not find file specified at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfostartInfo) at System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start(Pr [More]
Hi. I notice that FireFox 4 won't load our web app. When I view the source it is blank? It's fine in FF 3, IE and Chrome4.0 needs 10.5 and an Intel processor. <br /> http://www.mozilla.com/en-US/firefox/4.0/system-requirements/ For older Macs that a [More]
Hello, I am new to Apple Discussions and I am not sure if this is an appropriate question but I was wondering how to start as a developer.I don't know the first thing about developing for Mac OSX or the iPhone, except that I need to download the Mac [More]