Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-08-2008, 01:07 PM   #1
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
v12.1 su - mysql

It seems that in 12.1, root can no longer 'su' into an account with no password. Stupid me didn't check rc.mysql to see if the directions changed. They did. It now says to use:

mysql_install_db --user=mysql

However, now I need to know if I need to recreate the mysql user because I deleted the password for it. (before toggling the password with 'passwd -u/-l mysql would always show that the account is locked when typing 'passwd -S mysql' but now it toggles between L and NP (locked and no password)

Also is this new functionality of 'su' something to do with slackware settings or a newer version of 'su'??
Old 09-08-2008, 02:23 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 5,388

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Well I did not mess with mysql user on my system (slackware 12.1) and the output with passwd -S mysql shows:
mysql L 10/28/1996 0 -1 -1 -1
So it seems locked by default
BTW I use mysql here, works fine
Old 09-10-2008, 05:34 AM   #3
ninja master
Registered: May 2008
Distribution: funtoo/gentoo amd64 xwrt
Posts: 412

Rep: Reputation: 31
my mysql is retarded and dies upon boot =(
Old 09-10-2008, 07:34 AM   #4
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 5,388

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
I don't know why Patrick J. Volkerding takes the effort to write how to properly configure mysql in Slackware (script comments in /etc/rc.d/rc.mysqld), nobody seems to read it :/

Last edited by keefaz; 09-10-2008 at 07:36 AM.


mysql, su

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
v12.1 inst failure ..twice .. md5 ok stabu Slackware - Installation 10 09-13-2008 05:22 PM
madwifi, wpa_supplicant and slackware v12 madness Brettley Linux - Wireless Networking 1 03-06-2008 01:19 AM
After Install blank screen v12 s1ugh34d Slackware 10 02-18-2008 10:04 PM
Switching to Root in Slackware v12 bo_akins Linux - Newbie 10 10-04-2007 05:06 PM
V12 Installation not finding second Sata drive Noob Cubed Slackware - Installation 1 08-17-2007 11:04 PM

All times are GMT -5. The time now is 04:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration