10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script that checks if the script has been ran with sudo.
If the script is not ran as sudo, the current script is being executed with exec sudo bash.
You are asked for a password, you type in the password, success. Everything is perfect - the commands inside the script are ran as sudo.... (1 Reply)
Discussion started by: boqsc
1 Replies
2. UNIX for Dummies Questions & Answers
when i run echo "User” > /dev/tty5 why do i get permission denied? :confused: (2 Replies)
Discussion started by: chinababy
2 Replies
3. Linux
I am using korn shell
When I type in Telnet on cmd line, I get message
"cannot execute"
How can I get permission to execute command ? In which dir is telnet located ? I looked in /usr/bin dir. but its not there
Thanks (1 Reply)
Discussion started by: paramshamnani
1 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
I am facing a problem with respect to mailx command in unix . Earlier it was working fine and I am facing this issue only from last week .
I used mailx command and I am getting a error message as follows :
temporary mail file: Permission denied
If I run mailx command from... (2 Replies)
Discussion started by: deepav1985
2 Replies
5. Shell Programming and Scripting
I created a user so that when he logs in he will be directed to a menu
/etc/passwd
user1:x:115:1:Support -SysAd:/export/home/user1:/export/home/suppotrmenu/script.sh
However when I logged in remotely from another server by ssh user1@1.1.1.1 , it saysexport/home/suppotrmenu/script.sh:... (4 Replies)
Discussion started by: lhareigh890
4 Replies
6. Red Hat
Hi guys im new to this db
i have a small prob while installing websphereportal6.1i think i was installed succesfully
but the error im getting is while starting server.
check this out
# ./serverStatus.sh -all
Error loading: /usr/wps61/AppServer/java/jre/bin/classic/libjvm.so: cannot... (1 Reply)
Discussion started by: varma917989
1 Replies
7. Shell Programming and Scripting
Hi Gurus,
I am new to scripting and needs your help in expect script used for telnet. I wrote a simple script as
#!/usr/bin/expect-5.43 -f
spawn telnet localhost 2233
expect "password:"
send "secret\r"
send "i data.cnbc.com\r"
send "exit\r"
expect eof
When I am trying to execute... (2 Replies)
Discussion started by: niks_yv
2 Replies
8. Shell Programming and Scripting
Hi All,
I have two servers, say server1 and server2.
I have put the entries of both servers in /.rhosts file of both servers.
So, when I tried to run following from server1-
rsh server2 "ls"
Permission denied was printed on console.
Can anyone help me out?
Regards,
akash mahakode (4 Replies)
Discussion started by: akash_mahakode
4 Replies
9. UNIX for Advanced & Expert Users
Hi,
I can not execute a .env file
$ . /Data/oracle/d03/mydbora/8.0.6/MYDB.env
-bash: /Data/oracle/d03/mydbora/8.0.6/MYDB.env: Permission denied
Even if :
-rwxrwxrwx 1 oracle dba 2903 Mar 5 2007 /Data/oracle/d03/mydbora/8.0.6/MYDB.env
Please help.
Many thanks. (1 Reply)
Discussion started by: big123456
1 Replies
10. UNIX for Dummies Questions & Answers
i'm trying to set up my internet connection and i was told i need to edit the file
/etc/ppp/pap-secrets
but i get a permission denied message...why?? (6 Replies)
Discussion started by: justchillin
6 Replies