Search Results

Search: Posts Made By: as7951
40,399
Posted By Peasant
How about using built-in audit systems in Linux...
How about using built-in audit systems in Linux and Solaris system ?
Writing scripts can only poorly emulate proper audit system, with easy circumvention.

History file is not audit and can easily...
4,755
Posted By Chubler_XL
You should store all the $2 values that match as...
You should store all the $2 values that match as a CSV in assoc. Then use a recursive function to walk thru assoc for each match:

awk -F, '
function prn_assoc(val,cnt,newvals)
{
if(val in...
4,811
Posted By bakunin
This is exactly the thing we talked about: what...
This is exactly the thing we talked about: what you did can easiy be undone by the person you tried to block. Here, i am allowed to do "everything but" some commands, so i use another command (here:...
4,811
Posted By Corona688
We are not being obtuse, being overly literal, or...
We are not being obtuse, being overly literal, or blocking you. We're telling you that your question is nonsensical. You cannot stop root from being root. Period. Full stop. Any measures you use...
4,811
Posted By bakunin
Absolutely! If someone is allowed to do...
Absolutely! If someone is allowed to do "everything" then everything it is - no less!

I remember a former customer took away root privileges for a certain system from us system administrators but...
4,811
Posted By jim mcnamara
Off the top of mu head, this seems contradictory....
Off the top of mu head, this seems contradictory. If you have read, write, and execute on any file, that means new user creation is possible. If you employ ACL's and block this special user from...
2,429
Posted By RavinderSingh13
Hello as7951, That's obvious because NONE...
Hello as7951,

That's obvious because NONE of them I believe are satisfying the conditions(since their difference is in range of +2 to -2, please check and let us know on same. Kindly check once...
12,258
Posted By drl
Hi. There are a number of software...
Hi.

There are a number of software collections and applications that know how to deal with CSV (sometimes TSV, and more generally DSV, Delimiter Separated Files) Many allow the delimiter to be...
12,258
Posted By RudiC
Or, awk -F\" ' {for (i=2; i<=...
Or, awk -F\" '
{for (i=2; i<= NF; i+=2) gsub (",", _, $i)
gsub (" *\|*,\|* *", "|")
}
1
' file
Showing results 1 to 9 of 9

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