How to use Xcacls.exe to modify NTFS permissions

Thanks http://support.microsoft.com/kb/318754 This step-by-step article describes how to use the Extended Change Access Control List tool (Xcacls.exe) to modify and to view NTFS permissions for files or folders. You can use Xcacls.exe to set all file-system security options that are accessible in Windows Explorer from the command line. Xcacls.exe does this by displaying and modifying the […]

Use Cacls.exe to view and manage Windows ACLs

Thanks http://www.techrepublic.com/article/use-caclsexe-to-view-and-manage-windows-acls/ Changing the permissions on files or folders for multiple users and groups can be a major administrative nuisance. Luckily, the Windows command-line tool Cacls.exe can help, especially when used in batch files. Cacls.exe is a Windows NT/2000/XP command-line tool you can use to assign, display, or modify ACLs (access control lists) to files or […]

Restricting Users To SFTP Plus Setting Up Chrooted SSH/SFTP (Debian Squeeze)

Thank to http://www.howtoforge.com/restricting-users-to-sftp-plus-setting-up-chrooted-ssh-sftp-debian-squeeze This tutorial describes how to give users chrooted SSH and/or chrooted SFTP access on Debian Squeeze. With this setup, you can give your users shell access without having to fear that they can see your whole system. Your users will be jailed in a specific directory which they will not be able to […]

AUTOMATICALLY BACKING UP MULTIPLE SUBVERSION REPOSITORIES

Ref. to http://darcynorman.net/2006/04/05/automatically-backing-up-multiple-subversion-repositories/ I’ve just put together a dead simple script to automatically dump all of them to a directory of my choosing. I’ve added this script to the crontab for the root user on the server, and it runs svndump on all repositories, gzipping the output for archive (and possibly restore). The output is stored in a specified backup […]

How to automatically chroot jail selected ssh user logins

Thanks to: http://how-to.linuxcareer.com/how-to-automatically-chroot-jail-selected-ssh-user-logins 1. Introduction In this article we will look on how to automatically chroot jail selected user ssh login based on the user group. This technique can be quite useful if you what your user to be provided with a limited system environment and at the same time keep them separate from your main system. […]

Chroot SFTP users with OpenSSH

Thanks to http://www.serverubuntu.it/SFTP-chroot OpenSSH configuration You need to edit the file /etc/ssh/sshd_config and configure OpenSSH to use its internal SFTP subsystem; this is needed to simplify the Chroot creation (we will not need to copy additional libraries inside the Chroot). Just add at the end of the file the following statements: #Subsystem sftp /usr/lib/openssh/sftp-server Subsystem sftp internal-sftp Match […]

Cách phát âm tiếng Anh chuẩn và chương trình luyện phát âm miễn phí

Thanks to http://www.nhatnghe.com/forum/showthread.php?t=728322 Nếu không biết cách phát âm tiếng Anh chuẩn, bạn sẽ gặp rất nhiều khó khăn khi học tiếng Anh, đặc biệt là trong giao tiếp, phiên dịch tiếng Anh. Bởi vì cho dù bạn biết nhiều từ vựng thế nào, bạn giỏi ngữ pháp ra sao, đọc, viết thành thạo thế nào, dịch tiếng […]

WinRM (Windows Remote Management) Troubleshooting

Thank to http://blogs.technet.com/b/jonjor/archive/2009/01/09/winrm-windows-remote-management-troubleshooting.aspx What is WinRM? New in Windows Vista, Windows Server 2003 R2, Windows Server 2008 (and Server 2008 Core) are WinRM & WinRS. Windows Remote Management (known as WinRM) is a handy new remote management service.WinRM is the “server” component of this remote management application and WinRS (Windows Remote Shell) is the “client” for WinRM, which runs […]

Audit Domain Group Changes Using Event Log Subscription

Thank to http://www.coloradochris.com/?p=1174 This article is an example of a problem I might solve at work as a Microsoft Windows System Administrator/Directory Services Engineer. My goal was to use the built-in Auditing and Event Log Subscription features in Windows Server 2008 R2 to monitor when changes are made to certain Active Directory groups. The groups I […]

Enable Powershell Remoting via Group Policy

Thanks to: http://www.briantist.com/how-to/powershell-remoting-group-policy/ http://gallery.technet.microsoft.com/scriptcenter/Add-AD-UserGroup-to-Local-fe5e9239/view/Discussions#content https://gist.github.com/briantist/3734447 Powershell really is a game changer when it comes management and scripting on Windows, but one of the areas where it really shines is in its remoting capability. Powershell remoting lets you connect to a remote system and run commands locally, then returns the results to the calling machine. This can […]