Jesin's Blog

Welcome to the Portal of Technology

  • Facebook
  • GitHub
  • RSS
  • Twitter
  • Home
  • Categories
    • Domains
    • Linux
    • Networking
    • PHP
    • Virtualization
    • Web Design
    • Web Servers
    • Windows
  • WordPress Plugins
    • Custom Error Pages
    • HTTP Digest Authentication
    • Mailgun Email Validator
  • Toolbox
    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool
  • About Me
  • Contact Me
  • Sitemap

Active Directory User Creation Script

June 20, 2011 Windows Jesin A Leave a Comment

windows category thumbnail

Bulk User creation in Active Directory is made easy with the VBScript given here. Thousands of users can be created at the click of a button. Lets go step by step creating this script. Open notepad and save it by typing “create-users.vbs” INCLUDING the double quotes. This will create a file with a .vbs extension instead of .txt. Then type the following code.

set objCON = GetObject("LDAP://CN=Users, DC=example, DC=net")
Set objUser = objCON.Create("user","CN=User1")
objUser.Put "sAMAccountName", "user1"
objUser.SetInfo()

This will create an user with name “User 1” and login name “user1” in the active directory domain example.net in the Users container. By default the user account will be disabled to create account and enable them using the script itself add the following code to the end of the code aboveContinue Reading…

Tags: windows scripts, windows server

Configure BIND DNS Split View

June 13, 2011 Linux Jesin A 1 Comment

linux category thumbnail

Configure BIND DNS Views and Split to respond to different DNS clients with different answers based on their IP address. If you have many computers connected via LAN among which one is a web server, within the local network you may want domain names to resolve to private IP addresses and from the internet it should resolve to the public IP address. This can be done with BIND’s split-horizon feature. Based on a list of IP addresses of clients the DNS server replies with the appropriate answer. Take note that if you decide to configure split view all zones should come under a view.Continue Reading…

Tags: dns, dns zones, linux

Mount an ISO file in Linux

June 9, 2011 Linux Jesin A Leave a Comment

linux category thumbnail

This tutorial shows how to mount an ISO file in Linux. In Windows third party tools are required to mount ISO images, but in Linux a simple command is enough to mount ISO images. Before editing the /etc/fstab file please take a backup by following the given instructions. To mount an ISO image use the following command

mount -o loop /location/of/file.iso /mnt/file

Replace /location/of/file.iso with the actual location. The “file” directory inside /mnt must exist. This will mount the iso file for that session. If you want to permanently mount the ISO file modify the /etc/fstab file. Before doing this please backup the fstab file.

cp /etc/fstab{,.bak}

Now edit the /etc/fstab file and add the following line

/location/of/file.iso /mnt/file iso9660 loop 0 0

Save the file and execute the following command to remount all enteries in /etc/fstab

mount -a

This way you can mount as many ISO images you want.

Tags: linux, linux commands, linux system files

How to setup roaming user profiles in Windows Server 2008

June 4, 2011 Windows Jesin A 5 Comments

windows category thumbnail

Read this tutorial to configure roaming profiles for user accounts in Windows Server 2008 in an Active Directory environment. Roaming profiles have the advantage of users have their personal settings and files available on all computers they login to. But the only problem is increased network activity during logon and logoff. Roaming profiles work by copying the user’s profile to the client computer on which the user logs on and when the user logs off the files are copied back to the server. Folder permissions and policies have to be configured properly to ensure the privacy of user files are maintained, while the administrator is able to have access to the user profiles.Continue Reading…

Tags: windows server

Setup Linux DNS Server for Windows Active Directory

June 1, 2011 Linux Jesin A 2 Comments

linux category thumbnail

Setup Linux BIND DNS server to work with Windows Active Directory. All you need to do is to allow updates from the active directory domain subnet and you’re good to go. Since this article involves more of Linux than Windows I’ve placed this article in the category Linux. First install a Windows Server OS and a Linux distribution, any Linux flavour will do. Install BIND DNS on the Linux server and do the necessary basic configurations.Continue Reading…

Tags: domain dns, linux

Setup Secondary (Slave) DNS Servers Free

May 21, 2011 Linux Jesin A 3 Comments

linux category thumbnail

Yes you read that right you can setup backup DNS servers for your domain without spending a penny. This tutorial will tell you how to do this. The primary (master) DNS server runs BIND in Linux OS, this process makes use of the free DNS hosting service provided by freedns.afraid.org, so you’ll have t0 setup the primary DNS server for your domain and allow the transfer of the domain’s zone records to ns2.afraid.org’s IP address. I assume you know how to setup a primary (master) DNS server in BIND, so I’ll show you how to edit the configuration files to allow zone transfers and to add a backup DNS server.Continue Reading…

Tags: dns, dns zones, linux

  • « Previous Page
  • 1
  • …
  • 11
  • 12
  • 13
  • 14
  • 15
  • …
  • 25
  • Next Page »

Get a wealth of information delivered to your inbox. Subscribe and never miss a single article.

  • Tutorials and howtos
  • Code, scripts and commands
  • Online Tools

* No spam, unsubscribe anytime

Hire Me

  • SSL installation and hardening (A+ on Qualys SSL test)
  • Apache & Nginx configuration
  • Email deliverability improvement (10/10 on Mail Tester & MailGenius)
  • WordPress customization, optimization and migration
  • and much more…

    Tools

    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool

    Nav

    • Home
    • About Me
    • Contact Me
    • Privacy Policy
    • Sitemap
    Vultr SSD VPS

    Creative Commons License
    Jesin's Blog by Jesin A is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
    Based on a work at websistent.com.