Tag Archives: user
Reset Root Password for MySQL user in Windows

1. Stop MySQL service. Run services.msc as administrator and stop it. 2. Run cmd.exe as administrator. 3. Execute: c:xamppmysqlbinmysqld.exe –skip-grant-tablesc:xamppmysqlbinmysqld.exe…

Restore the MySQL root user’s full privileges in Windows

1. Stop MySQL service. Run services.msc as administrator and stop it. 2. Run cmd.exe as administrator. 3. Execute: c:xamppmysqlbinmysqld.exe –skip-grant-tablesc:xamppmysqlbinmysqld.exe…

Creating your own Model User

If you are trying to create your own Model User and you receive the message bellow: ErrorException [ Fatal Error…

Generate password hashes for user registration on Kohana

echo Auth::instance()->hash_password(’new password’)echo Auth::instance()->hash_password(‘new password’)

How to avoid repeating code to check if a user is logged in

First of all create your own Controller that all other controllers will inherit from. Name it Mycontroller, for example: defined(’SYSPATH’)…

Retrieve the User-Agent HTTP

ObtainUserAgentString retrieves the User-Agent HTTP request header string that is currently being used. //.. #pragma comment (lib, "urlmon.lib") //.. char…

Kohana User Authentication

Always validate/filter user input. In Kohana validation can be performed on any array using the Validation class. Labels and rules…

Enable or disable user account from command line
Hide a User from the Welcome Screen

Hide user from Windows welcome screen: reg add "HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionWinlogonSpecialAccountsUserList" /v <username> /t REG_DWORD /d 0 /freg add "HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionWinlogonSpecialAccountsUserList"…

Create administrator user account in command prompt

Next Page