LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 11-26-2009, 09:23 PM   #1
cryptinitedemon
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Rep: Reputation: 0
Vmware Server 2 on slackware 13


I can't figure this out. every tutorial I see has a dozen things different from the last tutorial. I can install vmware server 2 fine, but I can never login to the web interface because it won't authenticate.

How exactly do I install PAM? I've followed a bunch of tutorials on how to install, but the installer never creates the /lib/security directories that all these tutorials say it's supposed to have.

So please help me out, I cannot figure out how to get Vmware server 2 and pam working on slackware 13.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 11-27-2009, 07:44 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,037

Rep: Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756
If PAM is installed in /usr/local (the default when you run configure) it isn't going to work (without a whole lot of fooling around). Best bet, if you don't have src2pkg go get it -- src2pkg defaults to installing in the system directories rather than /usr/local.

Check and see if it's installed in /usr/local and, if so, get into the source directory and run make unintall then rerun configure with --prefix=/, make, make install.

Better yet, get src2pkg, build with that and you'll have a Slackware package that you can install (or uninstall or upgrade). You can find it at http://distro.ibiblio.org/pub/linux/...nload/src2pkg/.

Hope this helps some.
 
1 members found this post helpful.
Old 11-27-2009, 08:36 AM   #3
santaslilslacker
LQ Newbie
 
Registered: Nov 2007
Distribution: Slackware64_current
Posts: 28

Rep: Reputation: 4
Try with this one: http://repository.slacky.eu/slackwar...pam/1.1.0/src/
Or install txz from parent directory. It states also that you need libprelude that can be found over there too: http://repository.slacky.eu/slackwar...es/libprelude/
If you're using 2.6.31 kernel, in order to install vm-ware server modules, you'll need http://symbolik.wordpress.com/2009/0...-server-2-0-1/. I recommend you to do so if you're planning to use "Host-only" networking(at least it was the problem till 2.6.31 kernel).
Hf vith your machines
 
Old 11-27-2009, 10:32 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
I've been using PAM compiled via src2pkg:

Code:
src2pkg -B -C -e='--libdir=/usr/lib --sbindir=/lib/security --enable-securedir=/lib/security --enable-read-both-confs'
Linux-PAM-1.0.1.tar.gz
After the package installed, I created several symlinks in /lib/security
ln -s pam_unix.so pam_unix2.so
ln -s pam_unix.so pam_unix_auth.so
ln -s pam_unix.so pam_unix_acct.so

Finally, I created etc/pam.d and copied usr/sbin/vmware-authd into the directory. This has worked on both the 32 and 64 bit versions of Slackware (64 bit is multilib).
 
2 members found this post helpful.
Old 11-27-2009, 12:44 PM   #5
cryptinitedemon
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks guys. The src2pkg solution worked. I installed that and then used the instructions in the above post and then reconfigured vmware and I can finally log in.

Thanks so much.
 
Old 11-27-2009, 09:07 PM   #6
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Quote:
Originally Posted by Hangdog42 View Post
I've been using PAM compiled via src2pkg:

Code:
src2pkg -B -C -e='--libdir=/usr/lib --sbindir=/lib/security --enable-securedir=/lib/security --enable-read-both-confs'
Linux-PAM-1.0.1.tar.gz
After the package installed, I created several symlinks in /lib/security
ln -s pam_unix.so pam_unix2.so
ln -s pam_unix.so pam_unix_auth.so
ln -s pam_unix.so pam_unix_acct.so

Finally, I created etc/pam.d and copied usr/sbin/vmware-authd into the directory. This has worked on both the 32 and 64 bit versions of Slackware (64 bit is multilib).
Thanks for reposting that. Your website had that information on it, shame about the content loss. When I first read this thread, wanted to post the link to that information. I've used your instructions in the past to install VMware server with the same results as cryptinitedemon - worked flawlessly!

Archived, bookmarked, printed out for future reference
 
Old 11-28-2009, 07:25 AM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Quote:
Originally Posted by disturbed1 View Post
Thanks for reposting that. Your website had that information on it, shame about the content loss. When I first read this thread, wanted to post the link to that information. I've used your instructions in the past to install VMware server with the same results as cryptinitedemon - worked flawlessly!

Archived, bookmarked, printed out for future reference

Yeah, I got to get off my butt and get that added again. I know a fair number of posts around here linked to it and it is too important to get lost. This is especially true since I originally got the src2pkg instructions from elsewhere and that site vanished as well.
 
  


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
Anybody Get VMware Server 2.0.0 and Slackware 12.2 to Work tronayne Slackware 10 05-08-2009 04:31 PM
How to package VMWare Server for Slackware? Randux Slackware 8 07-24-2008 03:21 AM
Guide - installing Slackware on vmware-server satimis Slackware 1 07-28-2007 06:46 PM
vmware server 2.5 Vmware tools in slackware 12 mr_sarge Slackware 5 07-18-2007 06:14 AM
Slackware on VMware Server 1.0.1 DAve.list Slackware 6 07-13-2007 12:28 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration