Changing a Linux User Password With a Single Command
It is often useful to reset a user password with a single command. You can change the password from a local system with the following:
It is often useful to reset a user password with a single command. You can change the password from a local system with the following:
First you need to convert your ISO file to the proper file type for your Mac. I am using a Windows 2016 ISO image for my example. $ hdiutil convert -format UDRW -o winserv2016.img winsrv2016.iso Reading SSS_X64FREV_EN-US_DV9 (Apple_UDF : 0)… ……………………………………………………………………. Elapsed Time: 2m 0.583s Speed: 45.0Mbytes/sec Savings: 0.0% created: /Volumes/HD2/vmware/winserv2016.img.dmg Insert your usb stick…
Turning off the screensaver for users is easy enough to do from System Preferences however this has no affect on the screensaver that is activated when users are logged out of the system and the machine is left at the login screen. Disabling the login screensaver needs to be done at the command line with…
Keeping a few Linux kernels installed is not a bad idea. If you install a new kernel and for some reason it breaks something else you may have installed or it corrupts itself, having another kernel on hand to revert to can be a huge help. There is a simple way to uninstall unused and…
In a mixed Windows-AD Linux environment, it is beneficial to maintain user accounts for both platforms through Active Directory. Adding Windows machines to Active Directory is a straightforward process but Linux is more of a challenge. For this reason, many organizations maintain separate authentication for Linux and Windows users. Though not straightforward, adding Linux, in…
Generally, Postfix will already be installed on a CentOS 7.x machine as the default MTA however it along with a few additional packages will need to be installed if you wish to use Postfix as a mail relay server. As root or sudo run the following command. yum install postfix mailx cyrus-sasl-plain In our case,…
To re-register Windows client/server in WSUS review the following instructions: 1. Run “gpupdate /force” command on the Windows client/server that have a registration issue in WSUS. 2. Run “wuauclt /detectnow ” command on the Windows client/server that have a registration issue in WSUS. Tip: You can use the Event Viewer to review the re-registration 3. In rare…
Having users reset their passwords that connect via Remote Desktop from another Remote Desktop have a difficult time using the easiest method of resetting their password, CTL-ALT-END. That method will bring up an option to change a password but it the option is only for the initial RDP connection no matter which desktop has focus.…
Remote SSH sessions will often freeze after a period of inactivity. Sure you can simply close the terminal but a better option is to properly disconnect from a frozen shell. Doing so is simple. Press ENTER or RETURN Enter a ~ Enter a . That should be all that is necessary to leave.
Sometimes you may wish to see not only the version of a package you currently have installed but also the versions that are available for installation. Using following command, you can find out. yum –showduplicates list package | expand And here is the output you would expect using PHP as the example. [jhudgins@www ~]$ sudo…