Tag Info

Hot answers tagged

6

Simply telnet to the IPMI IP Address in port 49152 and do a specific GET request. You should get your users and passwords if you're compromised. telnet server.example.com 49152 After the connection ask for GET /PSBlock and watch the results, it should be something like this: Trying 192.168.1.22... Connected to server.example.com. Escape character is ...


5

It looks like you need to reset your password you can try this it should work service mysqld stop mysqld_safe --skip-grant-tables & mysql --user=root mysql update user set Password=PASSWORD('new-password') where user='root'; flush privileges; exit; Now stop mysql pkill mysql and restart the service service mysql start You should be able log on ...


4

After some closer reading of the sudoers man page, I did find a working solution! My sudoers config for alice looks like this: Defaults:alice !authenticate alice ALL=(root) NOPASSWD: /bin/myadmintool Keep in mind, this will essentially set NOPASSWD for ALL of alice's sudo lines. In my case, this was the intention. Further Details The ...


2

The terminal isn't echoing the password or stars in place of the password. Try ignoring what you see and just enter the password. It is very common in unix to turn off echoing when entering passwords.


1

As workaround you can use a non-interactive mode: sudo -n echo test sudo: a password is required You can make alias for this user: alias sudo='sudo -n'


1

you appear to be using a Debian system because it uses template files in /etc/exim4/ to generate the /var/lib/exim4/config.autogenerated file, which is what Debian's exim4 is configured to read. You can learn a lot about how Debian manages the exim installation by reading their provided file /usr/share/doc/exim4-base/README.Debian.gz. I will hereafter ...


1

This should do: $ cat passwd.pp exec { 'foobar': command => '/usr/bin/openssl rand -base64 12 > /root/.my.cnf', creates => '/root/.my.cnf', user => 'root', timeout => '-1', require => Package['mysql']; } But, since you will have to administer a great number of instances, you might find more useful to ...



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