administration

TrueCrypt alternative with API

此生再无相见时 提交于 2019-12-06 02:43:08
问题 I am searching for a TrueCrypt alternative that has an API to programmatically access the files. Does anyone know a solution? The API should support the listing, creating, changing and deleting of files. 回答1: Diskcryptor does not have an API, but it is GPL. If I may, I beleive what you are asking for is for a abstract file system library. I understand that you want to load a TrueCrypt or similar container and list its content. When it is opened, such a container is just raw bytes reprenting

Remote Administration of Windows XP through the Command Line

随声附和 提交于 2019-12-05 11:10:48
Does anyone know of a good way to do remote administration of a Windows XP machine using just the command line? At the moment the only things it needs to do is to be able to install applications/patches, and transfer files to and from the machine, and installing registry patches would be nice as well. Currently we use a horrible hacked together solution that uses NetMeeting, in the past I've thrown together a proof of concept using SSH for windows (at the time windows 2000) but it didn't work to my satisfaction and was pretty buggy. Which was probably the result of the SSH Daemon I was running

Run Batch file as administrator - Windows 7 - Command “Run As” from network file system

荒凉一梦 提交于 2019-12-05 04:32:00
I need to set up the delivery of a program installer. This program has a program_installer.exe and a folder that i cannot include in the installer at the time in which i create the installer. therefore, when a user needs to install the program i send him a BATCH file via MAIL @echo off if DEFINED PROGRAMFILES(X86) ( SET TOOL_INSTALL_DIR="%PROGRAMFILES(X86)%\myfolder" ) else ( SET TOOL_INSTALL_DIR="%PROGRAMFILES%\myfolder" ) MKDIR %TOOL_INSTALL_DIR% copy /y \\rk0012352\Public\lkh5iwwh.m4s %TOOL_INSTALL_DIR% START %PROGRAMFILES%\program_installer.exe The issue is that, when the user execute the

IIS7 Profiling

≡放荡痞女 提交于 2019-12-05 01:39:39
Is there a way to profile IIS7? (freeware?) Number of connections Bandwidth usage Errors (Event Viewer?) -... thx, Lieven Cardoen ps: Something similar to mssqlserver profiling Try out the Administration Pack for IIS 7.0 . It has: Configuration Editor: The configuration editor module will help you manage your configuration files. This tool is available for server administrators only. It allows you to edit any section, attribute, element or collection in your configuration file. In addition to editing these values you are also able to lock and unlock them. The configuration editor also allows

Restarting ColdFusion mail queue

蹲街弑〆低调 提交于 2019-12-05 00:45:34
We are currently experiencing intermittent mail queue stoppages. I'm seeking diagnostic help in another area . In the meantime, is there a way to restart the CF mail queue without restarting the service as a whole? CF8 standard Win2k3 Solution: We are now checking the age of the oldest file in the mail queue. When it exceeds a set age (currently 30 min) the mail queue is restarted. Yes there is. <cfset sFactory = CreateObject("java","coldfusion.server.ServiceFactory")> <cfset MailSpoolService = sFactory.mailSpoolService> <cfset MailSpoolService.stop()> <cfset MailSpoolService.start()> 来源:

What's the difference between the Oracle SYS and SYSTEM accounts?

你。 提交于 2019-12-04 15:26:41
问题 What are the differences between the Oracle SYS and SYSTEM built in accounts? Edit: Apart from 3 letters! 回答1: SYS owns the oracle data dictionary. Every object in the database (tables, views, packages, procedures, etc. ) all have a single owner. For the database dictionary, and a whole lot of special tables (performance views and the like) are all owned by the SYS user. The SYSTEM user is supposed to be the master DBA user, with access to all of these object. This reflects an early, and long

What is the best conceptual approach, in Rails, to managing content areas in what is otherwise a web application?

為{幸葍}努か 提交于 2019-12-04 10:02:29
(A while back I read this great post: http://aaronlongwell.com/2009/06/the-ruby-on-rails-cms-dilemma.html , discussing the "Rails CMS Dilemma". It describes conceptual approaches to managing content in websites vs web apps. I'm still a beginner with Rails, but had a bit of a PHP background, and I still have trouble wrapping my brain around this. A lot of what I run into is customers who want a website that is not 100% website, and not 100% web app... That is, perhaps there are several pages of business-to-public facing content, but then there are application elements, and the whole overall

Magento: Detect if admin is logged in in frontend pages

感情迁移 提交于 2019-12-04 08:55:08
问题 I have created a magento extension. I want to implement access to the extension. The extension creates a page in frontend and i want only admin to access that page. So basically i need something that would detect that if admin is logged in in frontend pages. I have tried several solution but noting seem to work . if(Mage::getSingleton('admin/session', array('name' => 'adminhtml'))->isLoggedIn()) echo 'logged in'; else echo 'not logged in'; Check on frontend if admin is logged in Mage:

How can i check if MySQL and Tomcat are running?

牧云@^-^@ 提交于 2019-12-04 07:36:37
I've created a Java application that is split in different subcomponents, each of those runs on a separate Tomcat instance. Also, some components use a MySQL db through Hibernate. I'm now creating an administration console where it's reported the status of all my Tomcat instances and of MySQL. I don't need detailed information, but knowing if they are running or not it's enough. What could be the best solution to do that? Thanks Most straightforward way would be to just connect the server and see if it succeeds. MySQL: Connection connection = null; try { connection = DriverManager

Windows Mobile - What scripting platforms are available?

一曲冷凌霜 提交于 2019-12-03 13:34:18
问题 We have a number of users with Windows Mobile 6 and need to apply minor changes. eg. update a registry setting. One option is push and execute an executable file using our device management software. I'd like this to be a little more friendly for the admins who are familiar with scripting in VBScript/JScript etc. What are the options for scripting on Windows Mobile devices? 回答1: Once option that the devs over at xda-developers seem to enjoy is Mortscript I have never bothered to use it, but I