LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-08-2003, 06:24 PM   #1
macdav76
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/mysqld.pid --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
 
  


Reply


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 05:16 AM
changing the ownership djh Slackware 3 11-08-2004 05:16 AM
Changing ownership of folders Nurfen Linux - Newbie 1 08-01-2004 01:00 PM
changing ownership of downloaded file ergo_sum Linux - Newbie 2 09-19-2003 08:58 PM
changing users and group ownership dkc_ace Linux - General 4 02-03-2003 08:50 PM


All times are GMT -5. The time now is 10:36 PM.

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