Search Results

Search: Posts Made By: robo
9,993
Posted By cjcox
Uh... no... ln /bin/rm...
Uh... no...


ln /bin/rm /bin/rm-kazamaphobia
# Now safer
rm -f /bin/rm
# At this point... things are going to be broken all over the place...
# but at least you can get to the original rm...
9,993
Posted By jim mcnamara
The OP seems to want an 'answer' that specifcally...
The OP seems to want an 'answer' that specifcally blocks a command rather than making sudoers changes. cjcox, scrutinizer, and myself all agree that sudoers is the problem. Not access to the rm...
9,993
Posted By cjcox
In a sudo context, usually you don't want these...
In a sudo context, usually you don't want these kind of "everything" entries. So the best solution is to just have rules for the things you do want the user to be able to do through sudo.
...
9,993
Posted By jim mcnamara
Since you have a sudoers file which completely...
Since you have a sudoers file which completely makes security non-existent, this will block rm for a particular user for at least 10 seconds.
It also will, for that user, to break a lot of...
9,993
Posted By Scrutinizer
You could, but then there would be a zillion ways...
You could, but then there would be a zillion ways a user could go around it. Besides he/she could edit the sudoers file. So no, I don't think it can be done in a satisfactory way.
Forum: SCO 07-17-2012
6,497
Posted By jgt
SCOAdmin-->AccountManager-->User-->Authorizations...
SCOAdmin-->AccountManager-->User-->Authorizations

If you have a lot of users you may want to use "userls -A" to list all attributes for all users into a text file. A sample single line of output:...
5,053
Posted By radoulov
It should be something like this: ...
It should be something like this:

tunefs.ocfs2 -Q "block size = %B\n" /dev/sdX1
2,757
Posted By daWonderer
timezone difference?
timezone difference?
1,724
Posted By zxmaus
not sure if I understand your question correctly...
not sure if I understand your question correctly but here we go

your query will only produce IO on the node you are actually connecting to BUT with a 4-node-cluster you have tons of IO caused by...
1,724
Posted By vbe
To make it simple, if you were to share disk...
To make it simple, if you were to share disk space lets say in LVM vgXX/lvol01 between nodes (some form of special clusters...) You would make them all see the same vgXX/lvol01. Only UNIX in...
12,227
Posted By ieth0
its because sh on ubuntu is dash not bash , you...
its because sh on ubuntu is dash not bash , you need to use :

bash times.sh
12,227
Posted By ieth0
use while and sleep : #!/bin/bash ...
use while and sleep :


#!/bin/bash
times=0

while true;do
used=`free -m |awk 'NR==3 {print $3}'`
total=`free -m |awk 'NR==2 {print $2}'`
result=`echo "$used / $total" |bc -l`
result2=`echo...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 05:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy