Sponsored Content
Top Forums Shell Programming and Scripting Bring prompt from a different process Post 302947137 by ahmedwaseem2000 on Monday 15th of June 2015 06:59:39 PM
Old 06-15-2015
Ok, let me try to clarify again. Sorry for the confusion.

Here is a sample code

Code:
./wrapper.sh

within wrapper.sh
Code:
runuser -l username -c read -p "input a value" input

In the above example wrapper.sh is being triggered as root which in turn is running read command as another user waiting for input. can I have a parallel session logged in as "username" and get to input?
 

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
WICD-CURSES(8)						      System Manager's Manual						    WICD-CURSES(8)

NAME
wicd-curses - curses-based wicd(8) controller DESCRIPTION
wicd-curses is a curses-based network controller that uses the Wired/Wireless Internet Connection Daemon (wicd) to control your network connections. It is suitable to run in terminal multiplexers like screen(1). It is designed to imitate the GTK-based wicd-client(1) as much as possible, and uses the Urwid (http://excess.org/urwid) console widget library to vastly simplify development. This man page only documents the current status of wicd-curses. This may/may not be the most up-to-date document. CONTROLS
All of these are case sensitive. C or enter Connect to selected network F8 or Q or q Quit the client. D Disconnect all devices from network connections ESC If connecting to a network, stop doing so F5 or R Refresh the network list P Bring up the preferences controller I Bring up hidden network scanning dialog H or h or ? Bring up a rather simplistic help dialog. Of course, it mentions this man page first. :-) A Raise the "About wicd-curses" dialog right-arrow Bring up network configuration controller for the selected network delete Delete the selected wired network profile (from the wired network combo box at the top) F2 Rename the selected wired network profile (from the wired network combo box at the top) S Bring up instructions on how to edit the scripts. I have implemented a way to do this in the interface itself, but making it func- tion with all Linux distros would be difficult. Since you are reading this, you should know how to do what I suggest. ;-) O Raise the Ad-Hoc network creation dialog FILES
~/.wicd/WHEREAREMYFILES Reminder that your network configuration files are not here ;-) SEE ALSO
wicd-client(1), wicd(8) BUGS
Probably lots. ;-) If you happen to find one, ask about it on #wicd on freenode, or submit a bug report to http://launchpad.net/wicd. WICD-CURSES AUTHOR Andrew Psaltis <ampsaltis@gmail.com> WICD AUTHORS
Adam Blackburn <compwiz18@gmail.com> Dan O'Reilly <oreilldf@gmail.com> David Paleino <d.paleino@gmail.com> wicd-curses-uimod December 2009 WICD-CURSES(8)
All times are GMT -4. The time now is 09:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy