search
top

Changing umask based on Group Membership in Solaris 10 in profile

Recently ran into a situation where we needed to make sure that the umask of 002 was set on all the files owned by a specific group.  There are several solutions but one way is to set the umask in the /etc/profile. For Solaris 10 it is set in the profile here. if [ “$LOGNAME” = “root” ] then PS1=”ROOT@`uname -n`# ” ; export PS1 else PS1=”$LOGNAME@`uname -n`$... read more

How To Change Passwords on Remote Windows Systems Using SyInternals PsPasswd

We all know that a good Administrator will find a way to automate or make boring tasks easy. Changing passwords on Windows systems, usually Administrator accounts, is one of those we least like to do but have to for audit purposes and also when other administrators leave. Well, here is another tool that can help with changing passwords. The free utility PsPasswd is part of Microsoft’s... read more

Spanning Volumes on Windows 2008 R2 Using Dynamic Disks

We have all been there, you setup a new server and allocate space to the server and think all is well, but next thing you know space is running out and you have a disk you need to add space to but you can’t. Well with Linux you can add the disk and extend the volume, this is possible with Windows 2008 R2 and Dynamic Disks. Dynamic disks can contain a large number of dynamic volumes (approximately... read more

How To Get Members of a Local Group with PowerShell

Every admin dreads audit and requests for members with privileged access. Some want screen shots, others use scripts and then there are those of us who like to tinker and use PowerShell for Windows. What the result is a script that gets the members of the local Administrators group and export it to a file.   # Get members of local administrator group # getlocaladmins.ps1 $node = hostname # Set the... read more

Seagate Barracuda 7200.11 HDD Issue LED:000000CC FAddr: 0025BF67

Recently ran into an issue with a Seagate FreeAgent 1 GB USB drive where the drive was no longer seen by the OS. After doing a bit of searching found that there were several issues with the 7200.11 HD’s and bad firmware. After dis-assembling the drive from it’s casing found the 1 TB drive in the system was in fact an affected drive. The issue is caused by a bug in the firmware. Once the data... read more

« Previous Entries Next Entries »

top
Life of a Geek Admin
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.