Tag Info

Hot answers tagged

14

Read and execute the chapter about resetting the root password in the MySQL Reference Manual. This procedure starts the mysql daemon without authorization allowing you to connect without supplying credentials. In this mode you can connect normally, and reset passwords and grants. Afterwards do not forget to start mysql again with proper authorization in ...


8

As far as I know there is no "undo" for sysctl -- You need to re-enter the default settings (typically /etc/sysctl.conf simply does not specify defaults, so re-reading it won't revert your changes unless there's an explicit setting). If you do not know your default settings a reboot will get them back, and you can then list them with sysctl -a (store this ...


6

If this is a Debian/Ubuntu box, there is a special root-equivalent account called debian-sys-maint. You can read the password in /etc/mysql/debian.cnf Using that password you can log into mysql as debian-sys-maint using: mysql -udebian-sys-maint -p Once you are logged in, do the following: use mysql; update user set password=password('<new ...


5

The reset pin on that unit is near the panel with the Ethernet and Serial interfaces. See the manual. If you previously had connectivity to the unit, you can also do this from the web and serial interfaces. But in the end, it's a PDU. Is there any company-specific information contained within?


4

User manual for PDUMV30HVNET Assuming this is your unit, there looks like a little reset button above the Config port. Barring that working (try holding it in with a paperclip for 20 seconds), you should be able to connect a console cable into that Config port, and connect using a terminal. Details: Use the console cable. Plug into a machine and ...


4

How did you "modify /etc/shadow"? You should be able to copy a user's password hash from /etc/shadow from one a system on which you know the password "works" to this server's /etc/shadow and have it Just Work (TM). Oh, and don't edit /etc/shadow directly. Instead, use vipw -s. That will help prevent you from saving the file with formatting errors.


3

I think those are pretty good; I can offhand think of no rule that would escape that pruning. It depends. What are your current arrangements for rules on reboot? If they amount to DROPping everything, then yes, you'll lock yourself out. The script you've shown above is lovely (see 1.), but it's not going to magically be run on reboot. It depends whether ...


3

AFAIK a reset button just shorts out 2 pins on the board to kill the power, then when it's reset it's like you've switched it off and on again. Effectively all it does.


3

My root user didn't exist. On CREATE USER root@localhost; I got ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement The solution was to mysqld_safe --skip-grant-tables & mysql INSERT INTO user (Host,User,Password) VALUES ('localhost', 'root', 'changethispassword'); UPDATE ...


3

If all accounts are to be reset to the same password, you could probably do something like this: for /f %%u in (users.txt) do @net user %%u PASS /logonpasswordchg:yes /domain


3

Yup. You can loop and read in the names of the accounts you need to reset from a .csv of the usernames, which you hopefully already have in a list somewhere. If you have the AD module for PowerShell, it's even easier (you can also read in a .csv of the usernames with this method, instead of using a filter). First, you need to import ActiveDirectory ...


3

This question is already been discussed at the community before. Please refer to this link How do I bulk reset passwords for all users in an OU? and you can go for this link also Mass password change at active directory http://blog.scottlowe.org/2005/12/08/mass-password-changes-in-active-directory/ ELse go for a freeware tool such as Lepide Active ...


3

The 5505 is not capable of running in multiple context mode. This is probably just a bug. I would: backup your config: more system:running-config then save this config to a txt file wr erase to erase the startup config reload and say no when it asks you to save the current running configuration


3

In your capture both servers are setting "Do not fragment bit". This means that both ends are trying to do Path MTU Discovery. It seems that there is a firewall that blocks ICMP Fragmentation Needed form your Linux server towards the remote server. As a workaround enable MSS clamping with: iptables -A OUTPUT -p tcp --tcp-flags SYN,RST SYN -j TCPMSS ...


2

You have a typo mysqld_safe –skip-grant-tables -u root & should read mysqld_safe -–skip-grant-tables -u root &


2

I have found a temporary solution to this. You can add the MIME Types to the website only and do not have to do it to the whole server. This means that a full iisreset is not required and only a kick to the single site in question.


2

You're not in configure mode. Type conf t then conf factory-default.


1

You can use a WinPE USB stick to boot but it must include the winpe-vmi package: To create an image that can decrypt your first computer you'll need another computer with WAIK installed. 1.1 How to create a WinPE image that suits your needs: http://technet.microsoft.com/en-us/library/dd744533(v=ws.10).aspx 1.2 You should include the winpe-wmi package when ...


1

You'll probably need to attach a serial cable to the console port. Getting console on cisco devices can be a real pain. You basically want the baby-blue RJ45-DB9 cables that comes with real routers. Try following the directions in the link below for the Aironet 350 (which lacks a mode button): ...


1

::1 is the IPv6 version of localhost, so it is working. Localhost always translates to the loopback IP address 127.0.0.1 in IPv4, or ::1 in IPv6.


1

The reason a ping responds with that address but browsing fails is because ping is using IPv6 automatically, and the system is resolving localhost with the IPv6 address, which your webserver apparently isn't serving on. If you add an entry to the Windows\System32\drivers\etc\hosts file with this: 127.0.0.1 localhost then it should force the system ...


1

Is there a weird VirtualServer for localhost that's different from the default one configured? When you use "localhost", it can get matched by a ServerAlias or ServerName configuration. If that configuration is bad, (eg: wrong wwwroot), then it won't work with the localhost, but might with an IP. So check your httpd.conf for localhost. Or add ServerAlias ...


1

You can accomplish this by stopping the Windows Time (W32Time) service. Once stopped, it will no longer sync against the domain controller. However, by doing this you will break AD authentication. Kerberos tickets are time-sensitive. I'm sure you'll experience lots of pain if the clocks are more than 5 minutes out of sync and you're trying to ...


1

All the documentation states that you must reset the device to factory settings. Also, the serial port is for a modem connection, not a console connection. User Manual: User Guide - WatchGuard Technologies


1

The only way I know how to reset the authentication is to re-create the Business Objects database by bring up the CCM and stopping the CMS. Go to the configuration tab and click on the specify button. Ask for it Re-create/Re-initialize the database. Start the CMS up again. Once this is done, there will be only 2 users, Administrator and Guest. Both with ...


1

You should take a capture on the server to determine if the RST is actually sent by the server or some other intermediate device.


1

I would've run # netstat -anp and # lsof -n To see if there's a connection or filehandle-leak going on. I would suspect that the connections or files aren't closed properly, and that it has passed 1024 open files after a while (which is the default limit of open files at once, unless changed with ulimit) - which again would prevent it from creating ...


1

135/tcp is only the port-mapper. It is used to negotiate a second connection that runs on a high port (49152-65535/tcp in Server 2008), so you need to allow the port for that connection too. To facilitate firewall traversal, it's possible to lock the port.



Only top voted, non community-wiki answers of a minimum length are eligible