Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Help With Pam
kidd
post Sep 19 2003, 02:57 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 19-September 03
Member No.: 1,466



i have windows users logging onto my linux box
i can log domain users in but only from the console. when i try to run startx, it this error:

Fatal Server Error:
PAM authentication failed, cannot start X server.
Perhaps you do not have console ownership?

are there any clues as to fixing this problem?"
Go to the top of the page
 
+Quote Post
hughesjr
post Sep 19 2003, 05:11 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



It sounds like a "create file" permissions and/or "home directory missing" issue to me...

When the users log in, do they each have a home directory .... and are they the owner of the home directory?

Do a pwd after a domain user logs in ... and then an ls -al of their home directory.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
kidd
post Sep 19 2003, 01:21 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 19-September 03
Member No.: 1,466



ran ls -al, the users are the owners of all of the files in their home directories. i think this has something to do with pam and the xserver because if i boot to the gui, the users can't log in at all. any suggestions?
Go to the top of the page
 
+Quote Post
hughesjr
post Sep 19 2003, 02:03 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



BTW, what GNU/Linux distro are you using .... and what is it's version.

add a test user ... as root issue the following command at a :

adduser test

then assign a password to the test user like this:

passwd test

after assigning a password to test, try to login as test.

Can you login? Can you startx?


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
kidd
post Sep 19 2003, 05:39 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 19-September 03
Member No.: 1,466



i'm running redhat 9, kernel 2.4.20.20-9
normal users created on the local computer can run startx

the problem only happens AD users.

i was looking through the smb.conf file and saw there is a line

smb passwd file = /etc/samba/smbpasswd

but there isn't any such file there, could the be the problem? there is an

/usr/bin/smbpasswd

should i change the path in the smb.conf to this setting?
Go to the top of the page
 
+Quote Post
hughesjr
post Sep 19 2003, 05:49 PM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



The /usr/bin/smbpasswd file is an executeable ... the /etc/samba/smbpasswd would be the password file created if needed.

Are you using the Linux box as the PDC or BDC?

I always create a Linux user with the same username and password as the Windows user when using Samba, but I have Windows domain controllers on the network...and I use my Linux boxes as file / print servers...


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
kidd
post Sep 19 2003, 06:28 PM
Post #7


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 19-September 03
Member No.: 1,466



the linux box is just a client. I read "linux for windows administrator" and the author gave a tutorial on using winbind to have AD users logon to linux boxes without creating an additional account. it all works according to what was written. i can usr smbclient and browse all of the shares the only problem is running the gui. the entire book was written to teach the reader how to control linux from just the console and not need the gui.
Go to the top of the page
 
+Quote Post
hughesjr
post Sep 19 2003, 07:10 PM
Post #8


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I haven't done it like that yet! I only have a few users (12) that access the Linux servers right now from windows logins.

I have been looking at winbind very recently (earlier this week), but I didn't try setting it up yet.

There is a good file installed at /usr/share/doc/samba-2.2.7a/docs/htmldocs/winbind.html (substitute your version of samba for 2.2.7a) that explains all the options and setup for winbind.

Here is a slightly newer version of the help file that comes with samba 3.0.0 rc1:

http://us2.samba.org/samba/ftp/cvs_current...cs/winbind.html


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
kidd
post Sep 19 2003, 08:56 PM
Post #9


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 19-September 03
Member No.: 1,466



thanks for the link. it pretty much covered everything that i'v done so far. i'm almost positive that it has something to do with the way pam gives access to xserver. it mentioned configuring ftp and other services but all of that is beyond my skill and time. i'm gonna take a break from this for a little. maybe then i'll end up bumping into the answer. Thanks a lot for your help.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 04:54 AM