1. most ksh insist in safe mode
2. Linux does not support suid scripts. You need to write and compile a binary helper, or use an existing helper like sudo.
I am researching ways in which to backup files or whole file systems for backup to another system.
We are using Suse Linux 7.0 with no tape backup devices or secondary disks.
What utilities would be the best to use for a simple yet flexible script for backup purposes?
tar, cpio, compress. (3 Replies)
i have a script that will retrive some info from database. The script is working fine but i have to add new feature in it when the script fails or retrive null result it should reflect in the log file.
below the script AMR_Inactive.sh
while read i
do
connect1=`sqlplus -silent... (3 Replies)
Hi,
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Hello everyone,
I have a radio wireless called UBNT Nanostation5
It has this linux OS:Linux version 2.4.27-ubnt0
When i want to write a script in ssh, i get some errors
The script is:
ifconfig eth0 down
ifconfig eth0 hw ether 00:15:6D:**:**:**
ifconfig eth0 up
cfg -x
echo... (1 Reply)
Hi everyone,
when executing this command in unix:
echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error.
here is content of my script:
tdbsrvr$ vi hc.sh
"hc.sh" 22 lines, 509... (4 Replies)
Hi,
OS : Linux
I have an executable (P1) owned by user say "abcd" and the setuid bit is set. And there is another executable (P2) which brings up the process (P1).
When the setuid bit is set, the process P1 is failing, if the setuid bit is not set there is no issue.
I was wondering if... (6 Replies)
Hi,
i am new here let me say HI for all.
now i have a question please:
i am sending one command to my machine to create 3 names.
if one of the names exists then the box return error message that already have the name but will continue to create the rests.
How i can break the command and... (7 Replies)
Just learning about the privilege escalation method provided by setuid. Correct me if I am wrong but what it does is change the uid of the current process to whatever uid I set. Right ?
So what stops me from writing my own C program and calling setuid(0) within it and gaining root privileges ?
... (2 Replies)
Discussion started by: sreyan32
2 Replies
LEARN ABOUT DEBIAN
faxq-helper
faxq-helper(1) mgetty+sendfax manual faxq-helper(1)NAME
faxq-helper - privileged helper process to access the fax queue
SYNOPSIS
faxq-helper <command> [<options>]
DESCRIPTION
faxq-helper is part of the internal workings of faxspool(1).
Formerly, the /var/spool/fax/outgoing directory was world-writeable, leading to all sort of funny symlink attacks against faxspool(1) and
faxrunq(8).
These days, it's owned by the user ``uucp'', and only this user can write to it. To be able to put jobs there, faxspool(1) calls faxq-
helper for very clearly defined purposes:
- make a new queue directory
- put a new fax G3 file into this queue directory
- put a JOB file into this queue directory, and activate the fax job
and possibly:
- remove a fax job from the queue (to be used by faxrm and in case of errors)
- re-queue a job that has been suspended due to repeated failures (faxq -r)
To achieve this, faxq-helper is installed set-user-id uucp. If you remove the suid bit, or chown the fax queue directory to a different
user, it will stop working.
RETURN VALUES
faxq-helper has the following exit() values:
0 everything went fine
1 invalid JOB ID specified on the command line
2 some problem with the directory setup of the outgoing queue dir, /var/spool/fax/outgoing (it will print a detailed error message)
3 some problems with the user ID setup of the ``uucp'' user (it will print a detailed error message)
10 failure to process the specified command (it will print a detailed error message)
SEE ALSO faxspool(1), faxq(1), faxrm(1), faxqueue(5)AUTHOR
faxq-helper is Copyright (C) 2004-2006 by Gert Doering, <gert@greenie.muc.de>.
greenie 18 Feb 06 faxq-helper(1)