LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-27-2005, 04:01 PM   #1
bastiji
LQ Newbie
 
Registered: Oct 2002
Posts: 2

Rep: Reputation: 0
"Could not open session" when trying to login on FC1...


Hello,

I just built a linux box using Fedora Core 1 and added a user using the command "adduser -s /bin/bash anewuser"

This created the entries in /etc/passwd and /etc/group and the default directories in /home with proper permissions (700 with anewuser owning the directory)

Whenever I try to ssh to it, the session just closes. When I try to do a "su - anewuser" I get a "could not open session" message and I get back to the root prompt.

Googling around I saw that permissions might be an issue so checked the perms for /etc/passwd (644), /etc/group (644) and /etc/shadow (600).

What else am I missing and why isn't it working?

Any help appreciated!

Basti
 
Old 04-27-2005, 06:20 PM   #2
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
What group(s) are the new user in?
 
Old 04-27-2005, 09:39 PM   #3
bastiji
LQ Newbie
 
Registered: Oct 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Damicatz -- Thanks for responding. The user is in it's own group named anewgroup. I guess that's the default way FC1 makes accounts.

Basti
 
  


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
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 05:32 PM
KDE "Logout" and "Lock Session" menu restoration powah Linux - Software 3 03-29-2005 09:02 PM
KDE "Lock Session" and "Logout" menu restoration tcma Linux - Software 0 01-29-2005 12:12 PM
KDE Login Manager missing the "session" tab culturejam Mandriva 13 10-11-2004 01:35 PM
Conexant Winmodem session "dead" after login Gert2 Linux - Hardware 1 02-16-2004 05:04 PM


All times are GMT -5. The time now is 07:21 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration