Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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


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!

Old 04-27-2005, 05:20 PM   #2
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, 08:39 PM   #3
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.



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 04:32 PM
KDE "Logout" and "Lock Session" menu restoration powah Linux - Software 3 03-29-2005 08:02 PM
KDE "Lock Session" and "Logout" menu restoration tcma Linux - Software 0 01-29-2005 11:12 AM
KDE Login Manager missing the "session" tab culturejam Mandriva 13 10-11-2004 12:35 PM
Conexant Winmodem session "dead" after login Gert2 Linux - Hardware 1 02-16-2004 04:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration