Sponsored Content
Top Forums UNIX for Advanced & Expert Users Disable rm -rf * or rm -rf / in Cent OS Post 302830693 by achenle on Tuesday 9th of July 2013 10:47:11 AM
Old 07-09-2013
If the users have root access, you really can't stop them from doing anything.

Requiring everyone to have root access is a bad design. Do you have a bug tracking system? Enter a bug about how giving everyone root access allows everyone to literally destroy the system, even accidentally. Especially if you've already had problems with it happening.

One thing you can do that might help, though, is use the "chattr" utility to set the immutable flag on files you don't want changed or deleted:
Code:
chattr +i /some/file/name

This User Gave Thanks to achenle For This Post:
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Chek if a file exists in Ubuntu and Cent OS using shell script

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)
Discussion started by: m_kk
2 Replies

2. Linux

how to make a Cent OS package.

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)
Discussion started by: toanilsharma1
1 Replies

3. Red Hat

Installation of Web Logic9.2 on Cent OS5

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)
Discussion started by: rajp_8007
0 Replies

4. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

5. Linux

UVFS in Cent OS

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)
Discussion started by: rajarshiroy77
2 Replies

6. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

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)
Discussion started by: manalisharmabe
2 Replies

7. Red Hat

AD Intergration with Cent OS 6

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)
Discussion started by: bobby320
0 Replies

8. Red Hat

How to Find all the SSL certs on a give host Cent OS

Hi I am trying to find all the ssl certs installed/located on cent os Host , Please help . (1 Reply)
Discussion started by: smartguyz2012
1 Replies

9. Linux

Add persistent route in cent os 6.5

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
gnome-options(7)						Gnome User's Manual						  gnome-options(7)

NAME
gnome-options - Standard Command Line Options for GNOME 2 Programs SYNOPSIS
program [standard options] [specific options] arguments DESCRIPTION
This manual page describes the command line options, which are common to all Gnome applications. OPTIONS
Help options -?, --help Show the applications help message. --usage Display a brief usage message. --version Show the applications's version information. Bonobo Activation support --oaf-ior-fd=FD File descriptor to print IOR on --oaf-activate-iid=IID IID to activate --oaf-private Prevent registering of server with OAF GNOME library options --disable-sound Disable sound server usage --enable-sound Enable sound server usage --espeaker=HOSTNAME:PORT Host:port on which the esd sound server to use is running. This is useful if you simultaneously run programs on several machines. GNOME GUI options --disable-crash-dialog Disable the crash dialog, which is normally shown when the application segfaults. Session management options --sm-client-id=ID Specify session management ID. Only used by the session manager itself while restarting the application. --sm-config-prefix=PREFIX Specify prefix of saved configuration. --sm-disable Disable connection to session manager. Other options --load-modules=MODULE1,MODULE2,... Dynamic modules to load SEE ALSO
For most GNOME programs there will be additional command line options, which are specific to the program. These will be explained in the Application options section of the --help output and in the application's online help. AUTHOR
This manual page was written by Jochen Voss <voss@debian.org>. A first version was generated with the help of the help2man program. The program's output was manually edited later. GNOME 2.2 2003-10-20 gnome-options(7)
All times are GMT -4. The time now is 09:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy