Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-08-2003, 05:24 PM   #1
LQ Newbie
Registered: Nov 2003
Location: Calgary, AB
Distribution: Fedora Core 3
Posts: 2

Rep: Reputation: 0
Question Changing ownership of mysqld process

I'm running Redhat 9 and setting up an Apache/MySQL/PHP webserver. The documentation I have been reading on MySQL, suggests that I should run the mysqld process as a non-root user. When I use the process status ($ ps) command to view the myqld process it shows root at the owner of mysqld (below)
$ ps auxw |grep mysqld
root 1767 0.0 0.0 4200 112 ? S 10:01 0:00 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf
mysql 1797 0.0 0.0 13924 200 ? S 10:01 0:00 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/ --skip-locking
greg 4070 0.0 0.2 3544 628 pts/2 D 16:22 0:00 grep mysqld

How can I change the ownership of this process?

Thanks, MJD


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing ownership 6.4 chown fails. jarin scott Linux From Scratch 6 02-16-2005 04:16 AM
changing the ownership djh Slackware 3 11-08-2004 04:16 AM
Changing ownership of folders Nurfen Linux - Newbie 1 08-01-2004 12:00 PM
changing ownership of downloaded file ergo_sum Linux - Newbie 2 09-19-2003 07:58 PM
changing users and group ownership dkc_ace Linux - General 4 02-03-2003 07:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration