LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-08-2008, 01:07 PM   #1
lumak
Member
 
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
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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
Member
 
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
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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.
 
  


Reply

Tags
mysql, su



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:22 AM.

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
Open Source Consulting | Domain Registration