Sponsored Content
Top Forums Shell Programming and Scripting Bring prompt from a different process Post 302947070 by ahmedwaseem2000 on Monday 15th of June 2015 06:14:09 AM
Old 06-15-2015
sure. I am running a setup program as root. This starts a web GUI to get user inputs. Using the input user name from the webpage it starts a command as su.


Code:
1. setup command holds the screen and starts web interface(root) 
>> 2. In Web interface it asks for user name input
>> 3. Using user name input provided in the web page a new sh script(generated on fly) is executed which runs java command
>>4 this java command requires input from humans and it holds the processes and hangs forever.

I hope this provides the clarification!!
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unable to bring up Sun OS

The last thing I did was set REMOTE_LOGIN_PASSWORDFILE to EXCLUSIVE. Then rebooted server. Since that time I have not been able to login. During bootup it can't find root and generates alot of errors. Does anybody know of a default login and password that will allow me to log in and rebuild the... (2 Replies)
Discussion started by: mayewil
2 Replies

2. Shell Programming and Scripting

User Prompt during batch script process

The script below performs an incremental database backup. When the increment backup is out of sequence, the process prompts the user: "Incremental backup out of sequece. Do you wish to continue? Y or N". This script is set to run as a scheduled process in background mode. When the script... (2 Replies)
Discussion started by: bond007jlv
2 Replies

3. Solaris

Can't bring E25K system controller to OK prompt

Hi, Due to some changes at our company, we lost the password for the root and sms-svc account on the primary system controller (E25K). We connected a serial console to the system controller but we never managed to break the session to bring it to the OK prompt. (tried: ~#, ~ b, ~, , a b,... (9 Replies)
Discussion started by: Solarius
9 Replies

4. Solaris

Not able to bring up the server

Hi All, I have a iplanet server running on solaris , i'm not able to start it using the start Its giving following error root@bld00: /usr/iplanet/servers6.1sp8/https-MLL-8.3dev # ./start Sun ONE Web Server 6.1SP8 B06/13/2007 23:15 info: CORE5076: Using from info: WEB0100: Loading web... (2 Replies)
Discussion started by: renjithrnath
2 Replies

5. Red Hat

Cannot bring up Firefox

I have installed firefox and it previously worked before I installed the oracle software on my machine. Now when I click on the icon to bring up the browser it fails. I tried to do it from the command line and this is what I get: $ firefox Cannot find mozilla runtime directory. Exiting ... (1 Reply)
Discussion started by: jxh461
1 Replies

6. HP-UX

Adding Storage, do I need to bring the DB down?

Hi Guys, Do I need to bring the DB down? masd023x:: uname -r B.11.11 Thanks! Where can I find this type of information? JC (3 Replies)
Discussion started by: 300zxmuro
3 Replies

7. UNIX for Dummies Questions & Answers

How to Change the % prompt to - prompt in UNIX?

how to Change the % prompt to - prompt in unix :wall: ---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ---------- How To display the last modification time of any file in unix ---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
2 Replies

8. Solaris

Unable to move from rsc prompt to ok prompt

Hi, on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies

9. Shell Programming and Scripting

Bring two files together

Dear Forum, I was wondering if anybody could help me to bring to files together. I have two text files. In the text file each record occupies two lines. First the ID number and in the next line text. $ cat text.txt +12345678 text_A +12345644 text_B +12334241 text_C +1234586... (5 Replies)
Discussion started by: GDC
5 Replies
smh(1M) 																   smh(1M)

NAME
smh - HP System Management Homepage (HP SMH). SYNOPSIS
[ | | | ] DESCRIPTION
The command launches HP System Management Homepage (HP SMH) for performing system administration on an HP-UX system. HP SMH is an enhanced version of HP System Administration Manager (HP SAM). HP SMH provides web-based graphical user interface (GUI), terminal user interface (TUI), and command line interface (CLI). You can access these interfaces using the smh command. However, you can also use the sam(1M) com- mand. The sam(1M) command behaves the same as the smh(1M) command except that the deprecation message is displayed in the beginning. For more information on HP SAM, refer sam(1M) manpage. When you run either the command or the command and if the environment variable is set, HP SMH opens in the default web browser. If the environment variable is not set, HP SMH opens in the terminal user interface (TUI). Options recognizes the following options. Launches HP SMH on a web browser without security warnings. Launches HP SMH on a web browser with security warnings. The -r option applies only to the TUI of HP SMH. This option invokes Restricted SMH which, enables the system administrator to assign limited privileged user access to SMH functionality. You must be a privileged user to use this option. See the section below for more information. The -p option applies only to the CLI of HP SMH. This option invokes the /opt/propplus/bin/cprop command which, provides a command- line interface to most of the information available from the HP SMH property pages. The -p option can be used with different com- mands to view information about hardware and software, operating system, network and other system devices. See the cprop(1) manpage for more information on the command and the option parameters. Restricted SMH SMH can be configured to provide a subset of its functionality to certain users or groups of users. This is done through Restricted SMH. System administrators access Restricted SMH by invoking SMH with the option (see "Options" above). In Restricted SMH, system administra- tors may assign subsets of SMH functionality on a per-user or per-group basis. Generally, SMH requires privileged user rights to execute successfully. However, through the use of Restricted SMH, SMH can be configured to allow subsets of its capabilities to be used by non-privileged users. When Restricted SMH is used, non-privileged users are promoted to privileged users when necessary to enable them to execute successfully. By default, Restricted SMH executes all applications as privileged user. However, certain applications like software distributor have their own security mechanism and do not follow the Restricted SMH security model. In such cases, the application launched through Restricted SMH will be executed with the login id of the user who invokes it. A non-privileged user that has been given Restricted SMH privileges simply executes and sees only those areas the user is privileged to access. All the SMH functional areas require the user to be promoted to be a privileged user in order to execute successfully. SMH does this auto- matically as needed. SMH provides a default set of SMH functional areas that the system administrator can assign to other users. Restricted SMH does not apply to web-based GUI of HP SMH from HP-UX 11i v3 release as HP SMH has its own roles. For more information, refer HP SMH documentation available at http:/ /docs.hp.com and the HP SMH product online help system. Logging For information on logging, see samlog_viewer(1). AUTHOR
was developed by HP. SEE ALSO
sam(1M), samlog_viewer(1), ugweb(1M), evweb(9), fsweb(1M), secweb(1M), ncweb(1M), hpsmh(1M), kcweb(1M), parmgr(1M), pdweb(1M), smhas- sist(1M), smhstartconfig(1M), intro(7), cprop(1), HP SMH White Paper available at http://www.docs.hp.com smh(1M)
All times are GMT -4. The time now is 12:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy