Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: robo
5,657
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...
5,657
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.
5,657
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...
5,657
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.
...
5,657
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...
Forum: SCO 07-17-2012
5,071
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:...
3,956
Posted By radoulov
It should be something like this: ...
It should be something like this:

tunefs.ocfs2 -Q "block size = %B\n" /dev/sdX1
1,670
Posted By daWonderer
timezone difference?
timezone difference?
1,429
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,429
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...
9,201
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
9,201
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

 

Featured Tech Videos

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