wiki.getshifting.com

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


start

SHIFT-WIKI - Sjoerd Hooft's InFormation Technology

This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation. See below for the latest additions, or use the search or tags to browse for content.


Cheatsheet Active Directory

Summary: Active Directory hints, tips, oneliners and best practices.
Date: 8 December 2024

→ Read more...

2025/06/01 11:59

Change User UID and GID on Red Hat

Summary: How to change the UID and or GID on Red Hat.
Date: Around 2015
Refactor: 21 February 2025: Checked links and formatting.

Follow these commands to change the user's uid and primary group gid.

First check the users UID and GID, as well as the GIDs name like this:

cat /etc/passwd | grep <username>
id <username>

This will give you all the output you need. Now use these commands to change the UIDs and ownership of the files:

usermod -u <NEWUID> <LOGIN>
groupmod -g <NEWGID> <GROUP>
find / -user <OLDUID> -exec chown -h <NEWUID> {} \;
find / -group <OLDGID> -exec chgrp -h <NEWGID> {} \;
Note that on old versions you might also have to do this: usermod -g <NEWGID> <LOGIN>. On new versions this is not longer required.


Note that if you have NFS shares which also holds these uid/gid you need to follow the same procedure there if you have root squash enabled. You will get permission denied messages when you run into this.

This wiki has been made possible by:

2025/06/01 11:59

Active Directory Basic Installation

Summary: How to install a Windows Server 2003 server as a domain controller.
Date: Around 2005
Refactor: 20 February 2025: Checked links and formatting.

This is an installation report of a basic installation of Microsoft's Active Directory through the tool dcpromo. The settings are based on a small AD domain design and should be set to your own settings when installing in a production environment.

This page is created for a 2003 AD, if you need an explanation for 2008, look here.

→ Read more...

2025/06/01 11:59

Change Password in RDP Sessions

Summary: Change your password in an AD rdp session.
Date: Around 2017
Refactor: 20 February 2025: Checked links and formatting.

It can be hard to change your password when you're in a RDP session in an Active Directory environment (as in no local accounts). When you're just one session deep, you could try to use this key combination:
<CTRL>+<ALT>+<END>
If that doesn't work, and you're on Windows 7 you could try this:
Go to Start → Windows Security and click the link to change your password.

This wiki has been made possible by:

2025/06/01 11:59

<< Newer entries | Older entries >>

This wiki has been made possible by:

start.txt · Last modified: by sjoerd