12 outubro, 2008

 

Preventing users from shutting down your servers


In your company you may have several servers working with sensitive data. Those servers are not separated physically from your employers.

They may even run Microsoft ugly software with a bunch of shared files you want accessible to everyone, like forms, etc.

In SOHOs (Small Office, Home Office) it is a common practice to share files with employers PCs, and you might need them all the time. To prevent the employer from shutting down your PC, or say, at home, to prevent children from shutting down your PC, you can use a feature from Windows, as long as your account does not have administrative rights.

It's there, on the picture: named "Shut down the system", under "Windows Settings", "Security Settings", "Local Policies", "User Rights".

10 outubro, 2008

 

Latest work - a snippet

Snippet: searching for your latest cpp code made...

The result shows epoch time, not really human readable, but the sense here is to search what are the latest 20 source code files you have changed in your disk...
[henrique@fuji gprog]$ find * -type f -name '*.cpp' -printf "%C@ %p\n" | sort -n | tail -20
1221434228 pQuery/gStatView/src/gSViewSpecic.cpp
1221435723 pQuery/gStatView/src/gSViewConfig.cpp
1221868424 gMailSys/lib/test_lists/gMNewGreys.cpp
1221868424 gMailSys/lib/test_lists/gMNewTests.cpp
1221868424 gMailSys/lib/test_lists/test_lists.cpp
1221909425 gMailSys/lib/libgmail/gMEncodingQuoted.cpp
1222031608 pQuery/gDbs/src/gDFuncLambda.cpp
1222031608 pQuery/gDbs/src/gDFuncOmega.cpp
1222031608 pQuery/gDbs/src/gDHash.cpp
1222031608 pQuery/gDbs/src/gDLambda.cpp
1222031608 pQuery/gDbs/src/gDOmega.cpp
1222904955 gMailSys/gSpamCompare/src/gMailSlurp.cpp
1222904955 gMailSys/gSpamCompare/src/gMboxSplit.cpp
1222904955 gMailSys/gSpamCompare/src/gSpamCompare.cpp
1222904955 gMailSys/gSpamCompare/src/gSpamFileHelper.cpp
1222904955 gMailSys/gSpamCompare/src/gSpamMsgHelp.cpp
1222904980 gMailSys/gSpamCompare/src/gMboxHelps.cpp
1223147210 pQuery/gDbs/src/gDbs.cpp
1223228409 gsrc/gobjeio/gxsupuni.cpp
1223233052 gWavGet/src/gWavGet.cpp
[henrique@fuji gprog]$ date +%s
1223675869

05 outubro, 2008

 

libunicode-plus xpfweb-v2.8xtra - extra package

You can see an highlight of libunicode-plus xpfweb-v2.8xtra here.
It was announced on December 2007 the stable version.

It contains gstrings and gnorm.

They allow to use the very basic mechanisms provided by libgobj., including the capability to use Unicode tables, named THB.

The difference beteen gstrings and strings is enormous:
A simple example:
esta tool é fantástica;
notre commerce est étonnant.
This text provides the following output on strings:
strings a.txt
esta tool
fant
stica;
notre commerce est
tonnant.
whilst with gstrings you see the following:
gstrings a.txt
esta tool é fantástica;
notre commerce est étonnant.
Well, this is the expected result.



This extra package README is as follow:

strings gstrings is the strings version with Latin support
(by using libunicode facilities: refer to libgobj)

norm Several trivial file operations, including:
check: check files & dirs
du: disk usage
ddb: a very basic dd
stat: the stat command
sumv: sum algorithm (System V sum)
suma: an alterate (faster) sum algorithm
pwd: trivial pwd command

This page is powered by Blogger. Isn't yours?