Sponsored Content
Full Discussion: runing a script as superuser
Top Forums UNIX for Dummies Questions & Answers runing a script as superuser Post 53149 by bcheaib on Wednesday 7th of July 2004 01:24:41 AM
Old 07-07-2004
Thanks a lot for your answer. But the problem is that our customer (the owner of the machine) does not allow us to install any freeware of extra tools for that. Can this be done via unix commands or script?
Meanwhile i will have a look about sudo for my records.
Thanks again
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

process runing automatically

Hi, I need some help, because I'm trying to create a process runing all the time (not invoqued by a crontab), like a daemon, to detect the creation of a new file in a specific directory and axecute a process wich do something with this new file. Can you help me? For your information my Unix is... (2 Replies)
Discussion started by: lsquillacioti
2 Replies

2. UNIX for Advanced & Expert Users

Runing sh files from c file

How can I run shell script file and not command from c file? (3 Replies)
Discussion started by: kamil
3 Replies

3. UNIX for Dummies Questions & Answers

do i need this runing ?

1. Do I need syslog running in my services? 2. Is there such a critter for counterstrike installer for linux or do i need to use winex (2 Replies)
Discussion started by: amicrawler2000
2 Replies

4. UNIX for Dummies Questions & Answers

Help on runing a script

:confused: Hello group, Let me explain a little, I´m running under HP UX 11.i SO. I need to put on the server via FTP a file with the following attributes: -r--r--r-- this is read for all. Also I tried using inet.conf to change the umask for ftp and works perfect on giving the permissions for... (1 Reply)
Discussion started by: mig28mx
1 Replies

5. Shell Programming and Scripting

Need a help Please- runing the perderabos script datecalc

i have a script in bourne called cdrsnokia.sh and inside of it calls a script called resta_dias where it calls the datecalc script (perderabos date calculator). The purpose is to rest (-) one day arithmetical operation the content of each line and the result is passed to another file lista2;after... (1 Reply)
Discussion started by: alexcol
1 Replies

6. Shell Programming and Scripting

runing shell with java and sqlloader issue

Hello there, I'm writing a shellscript and it uses sqlloader, it works good coz load the data into the DB. But I'm runing the shell from a java program with Runtime(). It does execute the shell but the sqlloader doesn't seem to be working!! Does anybody out there knows why?? (0 Replies)
Discussion started by: ying_dav
0 Replies

7. Shell Programming and Scripting

Runing Shell program in Windows XP

This is my first time to come across about Unix and Shell scsripting. So, I want to practice shell scripting and Unix in my WindowsXp S P2. Bu t i dont know what software sh ould i use for this. And this is for personal Practice only. Please Help me,. (1 Reply)
Discussion started by: mccm
1 Replies

8. Shell Programming and Scripting

runing script with log level 4

i have bash script with some batches, and when i putt log level 4 in script i get error while executing or if i rung script.sh with parameter log level 4. i appriciate some advice :) (3 Replies)
Discussion started by: unknown1
3 Replies

9. Shell Programming and Scripting

Getting error while runing the script

While running the script it is failing while searching the pattern if the pattern is found then it is running fine if the pattern is not found it terminate with error my requirement is if the pattern is not found then it exit successfully. cat $INTE/CTY_${DATE}_cn_ar.*|cut -c 1-100|grep... (3 Replies)
Discussion started by: jagu
3 Replies
install(1)						      General Commands Manual							install(1)

Name
       install - install binaries

Syntax
       install [-c] [-m mode] [-o owner] [-g group] [-s] binary destination

Description
       The  binary  is moved to destination.  If destination already exists, it is removed before binary is moved.  If the destination is a direc-
       tory then binary is moved into the destination directory with its original file-name.

       The command refuses to move a file onto itself.

Options
       -c		   Copies binary to destination.

       -g group 	   Specifies a different group from group staff for destination.  The destination is changed to group system; the -g group
			   option  may	be used to specify a different group.  The user must belong to the specified group and be the owner of the
			   file or the superuser.

       -m mode		   Specifies a different mode from the standard 755 for destination.

       -o owner 	   Specifies a different owner from owner root for destination.  The destination is changed  to  current  owner.   The	-o
			   owner option may be used to specify a different owner, but only the superuser can change the owner.

       -s		   Strips the binary after it is installed.

See Also
       chgrp(1), chmod(1), cp(1), mv(1), strip(1), chown(8)

																	install(1)
All times are GMT -4. The time now is 02:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy