10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have some comments about a previously closed topic whose name is the same as above
Omitted from the discussion was the situation with a "sudo command or sudo within a script".
There is an inconsistency between systems. On some systems $LOGNAME is invariant, on others,
on RedHat sudo... (3 Replies)
Discussion started by: lsatenstein
3 Replies
2. Solaris
I am new to smf...I am trying to create new smf service and starting a Python daemon script. The python daemon script will call few other scripts internally as subprocess. The scripts which are called by daemon are unknown of user environment variables. How can I execute smf service in user... (1 Reply)
Discussion started by: Sivaramakrishna
1 Replies
3. Shell Programming and Scripting
Hi everyone,
I wrote a script that is supposed to be run by cron on a daily basis. It works just fine if I run it manually, but due to a lack of environment variables (which are available during my user session but not when cron runs the script) it keeps failing to run successfully.
Here's the... (2 Replies)
Discussion started by: gacanepa
2 Replies
4. Shell Programming and Scripting
Is it possible to find out the history of recently typed in commands of a particular user in a multi user system?
the history command expects a numeric argument with it. is it possible to find out the history o commands of a particular user say John_smith for example? (2 Replies)
Discussion started by: arindamlive
2 Replies
5. Shell Programming and Scripting
Hi,
I am wondering what is the difference between the USER and LOGNAME environment variables, and under what situations would they be different?
I am using Ubuntu 8.04 32-bit and I do not have 'login' command to test it. (7 Replies)
Discussion started by: royalibrahim
7 Replies
6. Shell Programming and Scripting
Hello ,
i am on sles 11, and i can't figure out how can i locate my profile file,
the one that is use for setting the environment when i log in.
oracle@r200:~> cd
oracle@r200:~> pwd
/opt/oracle
oracle@r200:~> echo $SHELL
/bin/bash
oracle@r200:~>
oracle@r200:~> cat .profile
cat: .profile:... (4 Replies)
Discussion started by: tonijel
4 Replies
7. UNIX for Dummies Questions & Answers
Dear forum,
First off, I'm using Solaris 5.6 UNIX. I'm trying to write a script which will connect to remote computers on a network (by specific IP's from a hosts file) and will run a separate script which is installed in each of the remote computers. My problem is that to run the script in the... (1 Reply)
Discussion started by: TheMightyUrrrrf
1 Replies
8. UNIX for Advanced & Expert Users
Hello All,
I'm trying to run some script on other host by using rsh command.
This script asking for user id which follows by password requisition.
The problem which I faced is that the user requisition prompt never appear.
It look like the script is running and wait for the user id to be... (1 Reply)
Discussion started by: ronenalalush
1 Replies
9. AIX
HI,
From a Windows XP machine I am doing an 'rsh' to a AIX system,I have updated .rhosts of AIX system with the remote system name and I could able to do a remote shell,but when i do the 'rsh' i am not getting the environment variables which is already set for the user in th AIX system in my rsh... (2 Replies)
Discussion started by: cherryven
2 Replies
10. UNIX for Dummies Questions & Answers
The follwoing is my .cshrc:
and when I log in and type init, I got the follwoing message:
Usage: init
and also my login prompt is not ORACLE.bantest>>
I believed I am running /bin/sh
****************************************************
#ident "@(#)local.cshrc 1.2 ... (5 Replies)
Discussion started by: simt
5 Replies