How to make Windows “forget” network share login

Sometimes in testing network settings and authentication ( for instance when setting up a Samba server and users on a CentOS, Ubuntu, or Feroda Linux system) I often find it useful to force my Windows PC client to “forget” the login username and password that it has on record, for the current session, so that I may login again with another username/password combo. Easily accomplished, this Windows trick works on all modern Microsoft operating systems.

The situation: You need to login again to a network share on a Windows file server, or a Linux server,  without rebooting the client computer.

The fix: Disconnect from the shares using the NET command.

  1. Open a command prompt. (My favorite way is: Win-R, type cmd, press Enter)
  2. Type NET USE * /DELETE
  3. It will prompt you for verification, type Y and Enter.

That’s it! Enjoy, and may your login be forgotten!

Courtesy, Microsoft: http://support.microsoft.com/kb/308582

Posted under Microsoft, Network, Software, Windows

OTRS login

By default, to login to a fresh OTRS install, the username is root@localhost and the password is root

Posted under Freeware, Linux

This post was written by Content Curator on December 4, 2007

Tags: , , , , , ,

MySQL login with command line (CLI)

# mysql -h hostname -u username -p

It will prompt you for the password.

Then:

> connect dbname

Posted under MySQL

This post was written by Content Curator on September 17, 2007

Tags: , , , , , , , ,