Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







Change Mysql Root Password With Ssh Access?


How can change mysql root password with ssh access?


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Recommend An ISP For Webspace? (need Php + Mysql + Root SSH Access)
cheap-ish place to host a PROTOTYPE website. We're going to need php + mysql, but we're going to need to have more control such as root SSH access.

Here is the list of what we need to start with:

SSH access
PHP 5
Java
MYSQL 4 or 5
Apache 2
SendMail

Any ISP recommendations?

For now this is just a prototype, and it will NOT get hammered with
traffic. But we do need an outfit that is efficient and reliable.

Ship
Shiperton Henethe

We are based in the UK.

View Replies!   View Related
How Do I Change The Root Password
I have dedicate servers and I want to change the root password. I'm using whm/cpanel.

What happen when I forget my root password?

View Replies!   View Related
Change Root Password
how can i change root's password with SSH command?

View Replies!   View Related
Change Root Password From HyperVM
Is it possible to change to root password to a VPS from inside HyperVM? I currently have 4 VPS's setup and I need to change the password for one of the VPses. Can I do this from inside HyperVM without having to go to SSH?

View Replies!   View Related
How To Change Root Password From Shell
how to change root password from shell....

View Replies!   View Related
Disabling SSH Root Access But Enabling SSH Keys How To Do That
in order to secure my server against instrusion, i disabled ssh root login and created a user for myself. however in order to access the user i need to enable SSH Password authentication

I dont enable password authentication all the time and i keep it disabled unless i need to do something via ssh.

Now my question will be, is there a way to keep the user i created and keep the root login disabled and password authentication disabled but use ssh keys for the user i created?

I was informed that if i opt to login to ssh via the user i created, the only way to do that is to enable password authentication as it cannot work with ssh keys. is this true?

I really hope someone can help me how to use the user i created together with ssh keys so i dont have to enable password authentication when loggin to ssh

View Replies!   View Related
How To Change An Email Password From SSH
I was using Direct Admin Panel, now expired!

How can we change an email password from - 'root' user?

I know we can change main domain email password by 'passwd user'. But how to change other emails with that domain?

They are surely located in /etc/vitual/domain/password , but in hashed format.

How to change via command line?

View Replies!   View Related
How To Change Email Password From Ssh
I am just a newbie with linux and ssh.I know that we can control the server with ssh. SSH is faster and more secure than Web control.I need your help about with ssh:How to change the email password?How to add email address?How to disable/remove email address?How to forward email?Pleaser help me with one or more question above.My Server installed with Centos 4.4 with Cpanel 10.Thank you so much in advance.Longpt

View Replies!   View Related
ERROR 1045 (28000): Access Denied For User 'root'@'localhost' (using Password: NO)
Im trying to setup a mysql server on my centos vps server. Ive installed mysql server and done chkconfig and the mysql server has started. My problems start when i want to set a mysql root password.

Quote:

mysqladmin -u root password yourrootsqlpassword
mysqladmin -h server1.example.com -u root password yourrootsqlpassword

I get an error "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)"

Which i totally dont understand because why would it want a password when im trying to set the password?

View Replies!   View Related
Setting Root Password MySQL
I can't seem to get passed p21 of Database Driven Website by Kevin Yank. But I'm learning

Ive got the latest copy and and want to follow it through to see what i can learn (lots I'm sure)

Im on a mac osx and am trying to set the root password. He says to do this using terminal in the bin directory of my MySql installation.

Where is it? i know basics about getting round terminal i.e changing directories and stuff.

View Replies!   View Related
With SSH Key I Can Not Access The Root
i have a problem with shell access, and i can not access it throw ssh putty

the problem with the SSH Key i made one to enable it in my server.

now i can not access the root throw ssh putty

i removed the SSH Key from the WHM and still son nor access the root throw SSH Putty

View Replies!   View Related
I Can't Change Mysql Password In Confixx
I have a problem:

When I try to change a password in my mysql, in confixx control panel I see:

Quote:

Unable to connect to the database

View Replies!   View Related
Change Mysql User Password Via Shell?
Anyone know the commands to change a MySQL user's password via ssh?

I found stuff for changing the root password, and tried to adapt it for the user, but it didn't work.

View Replies!   View Related
MySQL: Access Denied For Root User
When I deleted a database, the user apparently was orphaned because when I tried to recreate it, it returned "user already exists". I've never encountered that problem although from Googling, I see others have and they delete the user to get around it.

When I log into mysql using the da_admin@ account and attempt to remove the user with drop user <user_name>; I receive the following error message:

ERROR 1227 (42000): Access denied; you need the CREATE USER privilege for this operation

It seems I don't have rights even as the root user. How can I get remove the orphaned user?

View Replies!   View Related
How To Change Cpanel Password With FTP Password
How to change the Password of my FTP?

I know how to change the pwd. of cPanel, but I don't know how to change the pwd. of FTP?

View Replies!   View Related
Ssh After Entering The Password Of Ssh It Shows Me The Errors.
Tere was a folder in /home/virtfs and I delete this folder and now when I try tologin to ssh after entering the password of ssh it shows me the below errors.

-bash: id: command not found
-bash: [: =: unary operator expected
-bash: id: command not found
-bash: dircolors: command not found
-bash: tr: command not found
-bash: id: command not found
-bash: [: =: unary operator expected
-bash: whoami: command not found
grep: /var/cpanel/users/: Permission denied
-bash: mesg: command not found
-bash: dircolors: command not found
sshadmin@XXX [~]# su -
Password:

and in service status in whm the memory used is 100% but the sites are working.

and root@XXX [/]# top
-bash: top: command not found
root@XXX [/]#

View Replies!   View Related
Root Password
My computer's HDD crashed last night and I only have an old backup.

The problem is my new server's root password was stored there and it's 20 digits totally random password.

Is there any way to reset the server password by the dedicated server provider?

I haven't asked my provider yet.

View Replies!   View Related
Root Password
May I know how to change the password of the root and directadmin through SSH?

View Replies!   View Related
Hacker Got Root Password
I'm still trying to figure this one out. I got an email last night about 10:30pm that a weird IP had logged with root. I thought it was a guy that helps with tech things but I ran the IP... it came back from Korea and I knew I was in trouble. I immediately logged into WHM and changed the root password then sent the server down for a reboot. He was only in there for about 3 minutes before I nailed him. I've banned the IP from the server and have been watching it for nearly 12 hours now and they haven't came back yet.

Now comes the task of trying to figure out how he got the password. This is mind boggling to me. He knew the password, like someone gave it to him... there were no incorrect guesses or brute force. The password was a series of random letters, both upper and lower case. Is it possible he got it through getting to /etc/passwd via a PHP script? I have open basedir restrictions in place, can they get around that? I noticed at the time he logged in there were several IPs trying to exploit PHP scripts on my server, you know, setting the parameters to txt files but I assumed with shell functions disabled (except exec) and with open basedir this wouldn't be possible. Is there a hole in cpanel / PHP / kernel recently I may have missed?

View Replies!   View Related
Reset Root Password
im forget my server root password, i have kvm access to server, i have centos5 dvd on server too.

how can reset root password now?

View Replies!   View Related
Su - Root Su: Incorrect Password
when log in via user in wheel group it works

but when su to root
it show incorrect password

/etc/pam.d/su

Code:
#%PAM-1.0
auth sufficient /lib/security/$ISA/pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth sufficient /lib/security/$ISA/pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
#auth required /lib/security/$ISA/pam_wheel.so use_uid
auth required /lib/security/$ISA/pam_stack.so service=system-auth
account required /lib/security/$ISA/pam_stack.so service=system-auth
password required /lib/security/$ISA/pam_stack.so service=system-auth
# pam_selinux.so close must be first session rule
session required /lib/security/$ISA/pam_selinux.so close
session required /lib/security/$ISA/pam_stack.so service=system-auth
# pam_selinux.so open and pam_xauth must be last two session rules
session required /lib/security/$ISA/pam_selinux.so open
session optional /lib/security/$ISA/pam_xauth.so
id

Code:
uid=32006(admin) gid=32010(admin) groups=10(wheel),32010(admin)

View Replies!   View Related
How To Handle Root Password And Support
I have VPS's with two companies that have managed/semi-managed support (depending on how you define it) and rely on them for a fair amount.

Whenever submitting a support request, I have to submit my root and cPanel passwords. Do people in my situation leave their root password as they would normally and just changing it however often they would if it wasn't given to support? Or, do you change your root/cpanel passwords before making a support request, and then change it back after the ticket is closed?

No offense intended to either of the VPS companies or their personell (that monitor WHT), both have been great. But, the reality is that I take it everyone at the company that has access to submitted tickets now have access to the root password, and since as a customer, I don't know when there has been employee turnover, that seems a security risk.

So, I am curious how others handle this. Not really sure if this belongs here or in the VPS forum, but since it could apply to any type of server/hosting account, I figured it belonged here.

View Replies!   View Related
Enable Root Password On Freebsd
How would I go about enabling the root user on a FreeBSD 6.1 system? I've got a dedicated colocated server (hardware, not virtual) and I can't for the life of me do anything with root. I can't "su", I can't "sudo", and I can't "passwd root". I've tried different shells, etc, but nothing works. I am the server admin, but I'm doing it remotely and I just can't figure this out. I know it's not, but I'm going to ask it for the sake of it being out there anyway: Is it possible that the server lacks a root user and that I'm unable to create one?

View Replies!   View Related
Kayako Support Wants My Root Password
I have recently leased Kayako support suite and I have not been able to get email piping to work. They have asked several times for the root password of my dedicated server and I have denied it. They now tell me they cannot help me if I do not provide them with the password. I find this very ridiculous since I know it is not safe to give that password. Is it advisable to give them the password and then change it after they get kayako working? What risks would I be going through?

View Replies!   View Related
Resetting A Root Password After /etc/passwd / Strangeness
We've had a customer do something strange to their server. They were playing with /etc/passwd or /etc/shadow or similar (not quite sure of the details) but the upshot is booting the server into single user and trying to reset the password via passwd gives

passwd root (and any user)
passwd: Authentication token manipulation error

So far I've

Replaced /etc/passwd* and /etc/shadow* with a copy from another server
Turned off SeLinux
/etc/pam.d/passwd is fine
Root file system is r/w

View Replies!   View Related
Methods Of Resetting LOST Administrator / Root Password
how do you guys reset the Administrator (for windows) and root password (linux)?

Do you guys use any kind of tools, boot-cd, software?

View Replies!   View Related
How To Change Ssh Server Name On Ssh Software
when i ssh my server and it always shows ip of the server on the left,

it is as my attaching file shows,

i want to ask how can i change it to my server name?

View Replies!   View Related
Password Change For Many Hosts
i have problem in my server but not in all hosts many host when i Password Modification the password change but when i open site by ftp or cpanel don't open and write that password is wrong

View Replies!   View Related
Cpanel Password Change
I searched the forum articles but couldn not find specifically what I wanted..
just learning with my dedicated server...

I want to change my cpanel password and ftp password but NOT change the msql server password. I tried to do it in WHM it also changes the database to my website and causes it to go down. (so I changed it back)

I tried to change it under: [URL to actual WHM removed] Password Modification in WHM but it changed the databse program as well.

Again all I want to change is the Cpanel acces and main FTP pass

Im doing this to keep old programmers out of my server)

View Replies!   View Related
Transfering CPanel Accounts From A Reseller Account To A VPS Without Root Password
I was just wondering if someone has made a new tool/script yet that will allow yo to transfer CPanel accounts in bulk (not the old way of doing them one by one) to another server (VPS/Dedicated) without having root access?

Like I know in order to use the WHM's transfer from server to server you need root access on both servers, but I'm asking, if you have a Reseller account, and a VPS/Dedicated server, I know last time I checked the only way to transfer accounts over was by making a Backup file for each account and then transfering it over which can take a while if you are doing a lot of accounts.

View Replies!   View Related
CPA NEL: Major Security Hole. I Mean Big. Gives Root Password
I have just discovered a massive security in the CPANEL 10.9 software. This problem is in the BACKUP FEATURE. If you do remote ftp back onto the same account. It will put the file in the account home directory and it will have this type of stuff accountname:ROOTPASSWORD@serverhostname.com

View Replies!   View Related
How Would A Hacker Change A Cpanel Password
I'm having a problem with a hacker...using insecure scripts on my user's accounts he changes Cpanel passwords. I do not understand how a script running as user nobody would change a Cpanel password. Any ideas on that ?

I am using mod security (rules from gotroot.com), register_globals are disabled. I also disabled the password reset feature as I thought the hacker may be resetting the passwords and then reading the new password from the email account on the server using the insecure script.

Unfortunately this guy simply doesn't stop...he seems to have a reverse DNS list or something. He is only attacking accounts on one specific server of mine but I am pretty sure he doesn't have root access.

View Replies!   View Related
Squirrelmail Password Change Option
I have 2 question regarding squirrel mail web interface..

1- Can a user change his mailbox password?

2- Is mailing forwarding option include in it?

View Replies!   View Related
Change Password Of Multiple Email Accounts
One of our client domain.com has more than 200 email ids & they want to

change unique password for all users at one go is it possible ? if so , how can i do this .

I am running below :

cPanel 11.24.4-S35075
WHM 11.24.2 - X 3.9
CENTOS 5.3 i686 standard

View Replies!   View Related
Change Databases Password Wihout Effecting Users
my server has just compromised and someone can retrieve all databases on server with my root sql password.

i changed the root sql password to avoid attacking again and want to ask a question...do i have to change all user's databases password too?

many users have wordpress, forum and other php scripts with config file contains current database password.If i change their pass their sites will stop working.

How to do this without bothering users?

View Replies!   View Related
Change CPanel Root Pass Via Shell
Is there a way to change the CPanel root password via the shell?

View Replies!   View Related
Change Root Server Email Address
How do I go about changing the root's server email address?

View Replies!   View Related
Document Root Change (e.g. /home/newfilehere/
On my VPS I currently have:

/home/admin/public_html/ as my website root.

However, I plan on running multiple website (not linked whatsoever) on the server. I have LXAdmin and HyperVM. Is it possible to get additional files, such as:

/home/site2/public_html/

then etc..

/home/site3/public_html/

Is this possible? Because, would each need its own IP for the DNS?

View Replies!   View Related
How To Change Root Psswd In Rescue Mode
First time logging in rescue mode, so I'm a little bit confuse, how to change the root passwd?

View Replies!   View Related
Tutorial To Use SSH Keys Instead Of Password
A Short tutorial to use SSH keys instead of plain password to login.


1. Logon to WHM and goto Main >> Security >> Security Center

2. Under "SSH Password Auth Tweak" and disable the Password Authentication.

3. Under "Manage SSH Keys" click on Generate new key.

4. Give a Key name and Generate a good password (remember it). Choose KeyType as DSA since it's more secure than RSA.

5. Once done, you will see a pair of public private keys. Authorize the public key to connect.

6. View/Download the private key to your system. If you're using putty it can also generate in relevant format.

7. Save the key in a secure place in your local system and chmod to 600 so that no one can read it.

8. Next, connect to your server:

Code:
root@localhost ~]# ssh -i /path-to-file/file.key root@server.ip.address
It should ask for the password, if you have used in step 4.

View Replies!   View Related
Reseting FTP Password Via SSH
how to change an FTP Password through SSH for a particular account

i.e i got a subdirectoryt and FTP account set up for /forum

but i cant remember what the password was..

but im logged in to root via SSH can anyone tell me how to reset this please?

im using Freebsd

View Replies!   View Related
Password Modification Trought SSH
trying to modify the password of certain accounts of my hosting server.

I have CPanel and I tried from cpanel and whm, so now I want to try from SSH to change the password of certain usernames.

How can I change the password of an account trought SSH?

View Replies!   View Related
PuTTY Ssh -f Root@....
How do I configure PuTTY to produce the equivalent of this command:

ssh -f root@xxx.xxx.xxx.xx -L 3333:yyy.yyy.yyy.yy:80 -N

So far the configuration I've come up with is:

Source Port: 3333
Destination: yyy.yyy.yyy.yy:80
"Local"
"Auto"

This doesn't seem to do anything at all. I don't use windows much, so go easy on me

View Replies!   View Related
Can't Access Ping Or Access SSH
I'm having trouble with a vps and the ips won't ping and can't connect via ssh.

I can via hypervm console when I run apt-get update but it doesn't download anything.

View Replies!   View Related
Users With Root Access
How can view all users have root access in system?

View Replies!   View Related
Phantom Root Access
First, a bit of server data:

Linux version: Linux version 2.6.9-023stab033.9-entnosplit (root@rhel4-32) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Tue Dec 5 14:54:16 MSK 2006

Running on top of Virtuozzo 3.x, SLM

Running the DirectAdmin control panel, v.1.30.2

For a couple years I've been maintaining a VPS, and I've had a command in root's .bash_profile to mail me the contents of `who` whenever root logs in (I'm certain this wouldn't catch everything, but I at least get mailed when I ssh in). However last night I got one of the dispatch emails, one that was definitely not caused by me logging in, and it was missing the `who` output in the body.

Taloncrossing: Root Shell Access on: Mon Sep 17 00:58:49 EDT 2007

I started doing some looking, starting with the logs. /var/log/messages contained these lines:

Sep 17 00:58:49 vps sshd(pam_unix)[16277]: session opened for user root by (uid=
0)
Sep 17 00:59:17 vps sshd(pam_unix)[16277]: session closed for user root

/var/log/security contained:

Sep 17 00:58:49 vps sshd[16277]: Accepted password for root from 65.98.70.202 port 45053 ssh2

To me this is pretty clear that someone had shell access to root. The session lasted just under 30 seconds. The security log showed no signs of previous failed login attempts. I referred to this topic [url]to try to find anything unusual

/var/log/wtmp has a reference somewhere to the accessing IP on grep, but 'who' will not reveal it, the same way that my email message was missing that info.

Everything else looks clean, I've run chkrootkit and rkhunter, all the warnings (issued by rkhunter) are benign, the .bash_history is clean (not flushed or any suspicious commands), logs are clean, nothing unusual is running, can't find anything out of place.

So basically I'm completely confused and have no idea what to make of all this. Was there a glitch? I can only assume that I am somehow compromised, but don't know what to make of all the data I've gathered. I'd really appreciate opinions from some of you that know this stuff way better than I do. The only action I've taken so far is changing the root password.

View Replies!   View Related
Password Mismatch Error On Restoring Db Via Ssh
Trying to restore db for my friend, was able to back up db via ssh using the username and pwd, but while restoring db in a new host get : Password mismatch error,

View Replies!   View Related
SSH Client For Windows Which Store Password
We are using Putty SSH clients it's great but we are looking for SSH client which can store passwords. So we don't have to enter password each time we login to the server using SSH client.

View Replies!   View Related
Pda Access To Whm / Remember Password
I access whm from my pda via this method as told by cpanel's DavidG from support

[url]

However, there is no remember me option. I'm using Opera Mobile on my HTC Touch and really need some sort of remember me option. Opera mobile (or mini) do not have the wand function either. IE doesn't have any such feature either.

View Replies!   View Related
Website Permissions Issue / Trying To Password Access
I'm trying to allow part of a website to be secure and prompt for a password that can be access by a user/password.

I'm running Win 2003 server and IIS 6.0

I have my website running fine.

This is what I wanted to do. Allow the main page to be accessed by all.

Part of the site needs to be secure and allow access to people only with a password.

I thought I would be able to do this by creating a user with a password on the windows machine just like I have created users with FTP accounts that are logging in and using the FTP service fine.

However, when I limit access to the folders. When I try to access it by internet it comes up with a user/pass box as I thought it would, but when I try to access it with the user/pass for a user that can auth fine for the win FTP service it doesn't accept it.

how I can do this in IIS to allow secure access to part of a site and allow them to auth to login to part of the site only ?

View Replies!   View Related
How To Access Password Protected File Via Curl
I've got a file I want to access via cURL that is within a password protected directory.

I've tried sending:

Code:
$headers = array(
"HTTP_AUTH_LOGIN: admin3e",
"HTTP_AUTH_PASSWD: opensesame",
"Content-Type: text/html"
);

curl_setopt($curl, CUROPT_HTTPHEADER, &$headers);
(insecure)

and:

Code:
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_USERPWD, '[user]:[pass]');
but I can't figure out how to get past the login:

Authorization Required

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Apache/2.0.52 (CentOS) Server at ****** Port 80

View Replies!   View Related
Can Not Login Root From SSH, LT- To Do KVM Over IP
can not login root from SSH, LT suggest me to do KVM over IP

View Replies!   View Related
Is Possible Access As Root To PhpMyAdmin, But How To PhpPgAdmin
is 100% possible access to ALL BD and admin ALL BD of MySQL from PhpMyAdmin.

How we can do it this actions in PhpPgAdmin ?

NOTE: into server with cPanel.

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved