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 04-17-2008, 09:13 AM   #1
warun
Member
 
Registered: Aug 2007
Posts: 39

Rep: Reputation: 15
slackware GUI login


hello,

i'm using slackware 12... i edited the /etc/inittabb file so that the system asks for the login in GUI rather than normal command prompt. I've two users on my system (root and a user). When i try to login through the GUI as a normal user, even though i give a correct username and password it's giving an error as entry not present in /etc/shells... what's the problem and also what is the solution..

thanks in advance...

Last edited by warun; 04-17-2008 at 09:18 AM.
 
Old 04-17-2008, 09:33 AM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 572

Rep: Reputation: 154Reputation: 154
Hi warun,

This happened to me as well.

In Slackware you have to specify your shell.

Next time use the adduser script to add users:-

# adduser
and choose the default shell, or:

# adduser -m user -s /bin/bash

As you already have defined a user:

# usermod -s "bin/bash" user

Chris
P.S. I strongly recommend reading the slackbook
P.P.S. I think that for other distros this would not be necessary
 
Old 04-17-2008, 01:45 PM   #3
+Alan Hicks+
Member
 
Registered: Feb 2005
Distribution: Slackware
Posts: 72

Rep: Reputation: 55
Let me guess. You used KDE's kuser to create the user right? You should have paid better attention as kuser defaults to an "Empty Shell", probably for "security" reasons. Since no shell is added to /etc/passwd for that user, KDM (or whatever you're using for your login manager) is complaining.

I tested a patch for kuser that made it default to whatever shell in finds first in /etc/shells, but AFAICT it hasn't been merged upstream and isn't present in -current.
 
  


Reply



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
Fedora 6 CHAR login to GUI login kallimathp1 Linux - Newbie 4 04-24-2007 04:03 AM
Text Login to GUI Login stakhous Linux - Newbie 6 02-14-2005 09:11 PM
slackware login problem - starts wrong GUI darksmiley Slackware 17 10-10-2004 04:37 PM
GUI Login gone??? thiamhong Linux - General 5 12-12-2002 10:42 AM
login without X GUI mkhan Linux - Software 3 07-01-2001 09:37 PM

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

All times are GMT -5. The time now is 03:36 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