![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Executing SQLPLUS in UNIX Script from JAVA | anooptech | UNIX for Advanced & Expert Users | 0 | 04-16-2008 09:53 AM |
| after executing execvp()... program hangs up | Crab | High Level Programming | 3 | 09-21-2006 11:31 AM |
| Executing an .ec program in different informix versions | matrixmadhan | High Level Programming | 0 | 05-21-2005 07:29 AM |
| Executing UNIX command from java on NT | CJ Walt | UNIX for Dummies Questions & Answers | 1 | 06-25-2003 02:39 PM |
| Java program calling a UNIX command | QUartz Ite | UNIX for Dummies Questions & Answers | 2 | 11-15-2001 09:17 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
executing the su command from a java program.
Say in unix (AIX) m/c, I am logged in with s1 user and want to start process p1 with user credentials of s2.
I can do manually in this way: #su - s2 #enter password for s2> somePassword $ p1 But all this I have to do through a java program. How to pass the password through program. One way is to use a script. But then in script also how to pass the password. I will be thankful, if anybody can suggest some solution to this problem. Thanks in advance. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|