Guys In one of my screen share sessions with an end user, saw an linux environment where the rm command and usage of any type of special characters have been disabled totally .
As long as you're OK with them re-enabling it, you can put this in root's ~/.profile or ~/.bashrc or whatever equivalent they use.
Code:
alias rm=false
set -f
But this will probably seriously inconvenience them, too.
Quote:
Is it ok to move the binary from the location /etc/sbin to /etc/bin and apply ACL.
Moving around essential binaries is not a good idea. If you break something, you may lose the ability to put it back.
I have tried few examples in the internet but all of them are different and none worked. I need to check if a file exists in a directory if it does not then exit . here is what I have for now
$filename ="/usr/local/net/var/lib/directoryservice/sync.disable"
if ;
then
echo "The file exists"... (2 Replies)
I am using Cent OS 5.1. It has a command "yum" to install or update new packeges from a mirror or repository.
i am doing installation and configuration of Sun directory server and opensso. i have made a shell script to install and configure both. but now the need is to create a Cent OS packege,... (1 Reply)
Hi,
Trying to install web logic 9.2 on Cent OS in the Graphical mode.
After accepting the license agreement the "Complete" installation is selected.The path for installing the components is mentioned and when clicked on "Next" it hangs and is not proceeding further.
Any suggestion or... (0 Replies)
Hi,
Trying to install Interwoven Teamsite in CentOs 5.4. Found issue in the first step while installing the uvfs .
# gmake
/usr/bin/gcc -g -O3 -Wall -I. -c -o uvfs_signal.o uvfs_signal.cc
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
gmake: *** Error 1
#
... (2 Replies)
Hi all Expertise,
I have following issue to solve,
SSL / TLS Renegotiation DoS (low) 222.225.12.13
Ease of Exploitation Moderate
Port 443/tcp
Family Miscellaneous
Following is the problem description:------------------
Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Hello,
I am integration AD authentication to Cent OS 6 servers. I am running to this error when I tried to join with AD server.
error message :
# net ads join -U 504783
Host is not configured as a member server.
Invalid configuration. Exiting....
Failed to join domain: This... (0 Replies)
Hi ,
I have cent os 6.5 and am trying to make few routes permanent for bond:
i have added two routes using below two commands :
/sbin/route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.59.160.128
/sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw 49.44.52.90
post which route command output is... (5 Replies)
Discussion started by: omkar.jadhav
5 Replies
LEARN ABOUT X11R4
qdisable
qdisable(8B) PBS qdisable(8B)NAME
qdisable - disable input to a pbs destination
SYNOPSIS
qdisable destination ...
DESCRIPTION
The qdisable command directs that a destination should no longer accept batch jobs. If the command is accepted, the destination will no
longer accept Queue Job requests which specified the disabled queue. Jobs which already reside in the queue will continue to be processed.
This allows a queue to be "drained."
In order to execute qdisable, the user must have PBS Operation or Manager privilege.
OPERANDS
The qdisable command accepts one or more destination operands. The operands are one of three forms:
queue
@server
queue@server
If queue is specified, the request is to disable that queue at the default server. If the @server form is given, the request is to disable
all the queues at that server. If a full destination identifier, queue@server, is given, the request is to disable the named queue at the
named server.
STANDARD ERROR
The qdisable command will write a diagnostic message to standard error for each error occurrence.
EXIT STATUS
Upon successful processing of all the operands presented to the qdisable command, the exit status will be a value of zero.
If the qdisable command fails to process any operand, the command exits with a value greater than zero.
SEE ALSO pbs_server(8B), qmgr(1B), and qenable(8B)Localqdisable(8B)