Check default user account parameters

How to check the default profile parameters for Oracle database users: SELECT profile, resource_name, limit FROM dba_profiles WHERE profile=’DEFAULT’; The output from the query should look similar to this: Failed_login_attempts 10 Password_grace_time 7 (days) Password_life_time 180 Password_lock_time 1 (days) Password_reuse_max Unlimited Password_reuse_time Unlimited To modify any of these parameters, use…

Continue reading

Manage Oracle DB users

To manage an Oracle DB user account use the commands listed below. Change user account password: ALTER USER username IDENTIFIED BY new_password; Lock and unlock a user account: ALTER USER username ACCOUNT UNLOCK; ALTER USER username ACCOUNT UNLOCK; Force user to change password at next logon: ALTER USER username PASSWORD…

Continue reading

Completely Disable UAC

To completely disable User Account Control on a Windows machine set the following registry key. Key:     HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System Value:   “EnableLUA” Type:    REG_DWORD Value:   0x00000000 The following powershell command does the trick nicely: Set-ItemProperty -Path registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -Name EnableLUA -Value 0   https://msdn.microsoft.com/en-us/library/cc232765.aspx?tduid=(8b33f2bee35cf8af0da845c7fe4d2393)(256380)(2459594)(TnL5HPStwNw-rp6Qh8nm5xnZwnOhPE.33Q)()

Continue reading