Sponsored Content
Top Forums UNIX for Advanced & Expert Users su option is not fetching the password Post 302693003 by vbe on Tuesday 28th of August 2012 10:25:30 AM
Old 08-28-2012
Look and figure out what is happening:
Code:
ant:/home/vbe $ ./test01
hello
su test01
This script  is shell PID:  29792
Enter passwd
Password: 
ant:/home/vbe $ echo $$
29793
ant:/home/vbe $ exit
hihi back to $$ : 29792
done

How do you expect to pass information from process 29792 to 29793 ?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No Password - - Setuid Only Option in Solaris 10

In Solaris 9, when I built users, there was an option for No Password -- Setuid Only. Now that I'm using Solaris 10, I no longer can find that option. Is there an equivalent option of No Password --Setuid Only in Solaris 10? Thanks, LeonD (1 Reply)
Discussion started by: leond
1 Replies

2. Shell Programming and Scripting

option followed by : taking next option if argument missing with getopts

Hi all, I am parsing command line options using getopts. The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument. Below is the script: while getopts :hd:t:s:l:p:f: opt do case "$opt" in -h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies

3. Shell Programming and Scripting

recently introduced to the newer option for find...does an older option exist?

To find all the files in your home directory that have been edited in some way since the last tar file, use this command: find . -newer backup.tar.gz Is anyone familiar with an older solution? looking to identify files older then 15mins across several directories. thanks, manny (2 Replies)
Discussion started by: mr_manny
2 Replies

4. Shell Programming and Scripting

Fetching the string using different patterns

HI, Please help me with the following problem: I have an xml file with the following lines <NameValuePair> <name>SharedResources/JDBC/Admin/password</name> <value>rjmadmin</value> </NameValuePair> <NameValuePair> ... (4 Replies)
Discussion started by: tejastrikez
4 Replies

5. Shell Programming and Scripting

Fetching data from file

Hi All, I'm facing issue while using script. Chk_Etl_Status=`cat /dstage/questnet/qnetdv/input/Etl_Status.dat|cut -d"," -f1` echo Chk_Etl_Status=$Chk_Etl_Status above result is giving me sometime value as 1 and sometime error message as Chk_Etl_Status= dsjoblaunch.sh: test: Specify a... (5 Replies)
Discussion started by: Amit786
5 Replies

6. Solaris

Unrecognized option: sparc-sun-Solaris2.10/bin/as: unrecognized option `-m32'

Hi, I installed some packages required by an app built with python. But when I try python setup.py install, I get the following error: /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32' Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies

7. Shell Programming and Scripting

Notable to use password option in zip command

zip -P abc -r FBE_SalesRepAccount_20170913125741.zip FBE_SalesRepAccount_20170913125741.txt zip error: Invalid command arguments (encryption not supported) zip -v Copyright (C) 1990-1999 Info-ZIP Type 'zip "-L"' for software license. This is Zip 2.3 (November 29th 1999), by Info-ZIP.... (1 Reply)
Discussion started by: alokjyotibal
1 Replies

8. Shell Programming and Scripting

Fetching timestamps from the logs.

Dear Experts, I need some help to get the time stamps from the Unix logs. Basically I am want to analyze which step is taking more time. Please give me some inputs. Thanks a lot for your help. I have got different codes for each for phase as we can see in the logs 00002 – UPDT Starting... (5 Replies)
Discussion started by: srikanth38
5 Replies

9. Forum Support Area for Unregistered Users & Account Problems

Password sent via reset password email is 'weak' and won't allow me to change my password

I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login. Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
ant-phone(1)							 ANT Manual Pages						      ant-phone(1)

NAME
ant-phone - an interactive ISDN telephone application SYNOPSIS
ant-phone [options] DESCRIPTION
ant-phone is part of ANT (ANT is Not a Telephone). It let's you make and receive telephone calls and talk via sound devices. It uses CAPI 2.0 as ISDN interface. OPTIONS
ant-phone accepts the following options: -h, --help Show summary of options -v, --version Print version information -r, --cleanup Remove stale socket file left by accident by a previous run of ANT. You only need this option if ANT says: "local bind: Address already in use" -d, --debug[=debuglevel] Print additional runtime debugging data to stdout, debuglevel = 1..4 -i, --soundin=device ALSA device name for input (recording), default: "default" -o, --soundout=device ALSA device name for output (playback), default: "default" -m, --msn=msn identifying MSN (for outgoing calls), 0 for master MSN of this termination/port, default: 0 -l, --msns=msns MSNs to listen on, semicolon-separated list or '*', default: * -c, --call=number Make a running instance of ANT make a call to the specified number, useful for calling from an external address book application -s, --sleep Shut down CAPI connection to prepare for removal of broken kernel modules, which don't survive suspend/restore. -w, --wakeup Restore CAPI connection after ISDN modules loaded again. The connection will be also restored by dialing a number, but before the connection is restored, you won't be able to accept calls. NOTES
If the used sound devices (arguments of --soundin and --soundout) are equal, a full duplex sound device is needed. FILES
~/.ant-phone/history the last dialed numbers ~/.ant-phone/options user specific options file ~/.ant-phone/callerid saved history of incoming and outgoing calls ~/.ant-phone/recordings/* recordings of recorded phone calls BUGS
Caller ID stores hangup reason localized. This will break, if someone uses letters outside of English alphabet for translation of hangup reasons. AUTHORS
ANT was developed by Roland Stigge <stigge@antcom.de>, based on ideas from IVCALL, Copyright 2002 Lennart Poettering. G.711 handling by Sun Microsystems. Contributions by Joerg Mayer <jmayer@loplof.de>, Lars Volkhardt <Lars.Volkhardt@uni-konstanz.de>, Ivan Schreter <schreter@gmx.net>. Version 0.1.0 27 April 2003 ant-phone(1)
All times are GMT -4. The time now is 10:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy