LinuxQuestions.org
Visit Jeremy's Blog.
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, 10: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 10:18 AM.
 
Old 04-17-2008, 10:33 AM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 517

Rep: Reputation: 108Reputation: 108
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, 02:45 PM   #3
+Alan Hicks+
Member
 
Registered: Feb 2005
Distribution: Slackware
Posts: 72

Rep: Reputation: 54
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


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

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

All times are GMT -5. The time now is 06:16 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration