9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am looking for a UNIX shell script which can help me for access restriction.
1) /home/ram, there are number file with .txt extension, which should be only owned "ram" user.
like as below
ls -lrt *.txt
-rwx------ 1 ram dba 11 Jan 4 2015 PASS1.txt
-rwx------ 1 ram dba 10 Jan 4... (8 Replies)
Discussion started by: mr.trilok
2. Shell Programming and Scripting
I have written a script and now i want to deploy it in PRODUCTION.
I want to give all the permission to the user only but not to others.What permission should i use?
CHMOD 777 FILENAME? (9 Replies)
Discussion started by: rafa_fed2
3. Shell Programming and Scripting
I'm a DBA and need help on shell scripting.
My Oracle Database is sitting on HP-UX machine.
Anyone has a script that can spool out permission of all oracle binary files in the below directory:
Format to be spooled out : chmod <exisiting permission> filename... (10 Replies)
Discussion started by: ciaciachew
4. Shell Programming and Scripting
I am working on a menu...
and the menu has some options like check status for services (gmonitor group) or stop - start - restart those same services (gadmin group)
as you see there are 2 main groups gmonitor for monitoring and gadmin for restart - stop - start services
so... (2 Replies)
Discussion started by: karlochacon
5. Shell Programming and Scripting
How to execute a script with out giving x permission to the file? (7 Replies)
Discussion started by: praveen_b744
6. Shell Programming and Scripting
In my script, I am creating a file ----> then writting one line (i.e. Timestamp) ----> then FTP'ing. The same script can be executed by many other users.
While other users executing this script, they couldn't Over write this one line (i.e. Timestamp)
So I wanted to create a... (2 Replies)
Discussion started by: sbmk_design
7. Shell Programming and Scripting
I am using tcsh
what could possibly be a problem, when using crontab to invoke a shell script. ?
The script has the read, write and execute permission to all users. And the script works as expected while executing it in stand-alone mode.
Is there a way to trace (like log) what error... (9 Replies)
Discussion started by: vikram3.r
8. Shell Programming and Scripting
I have written a startup script which has be started while reboot.
I am using Solaris10 machine and i have logged in as a root user.
I have written a code the following code
cp ./StartService /etc/init.d/
chmod 744 /etc/init.d/StartService //i have given it executable... (0 Replies)
Discussion started by: raghu.amilineni
9. UNIX for Advanced & Expert Users
I have a script, except me no one can read the script but they can execute the script. Is it possible? (14 Replies)
Discussion started by: kingganesh04