Latest LQ Deal: Linux Power User Bundle
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-02-2002, 09:15 AM   #1
LQ Newbie
Registered: Apr 2002
Posts: 1

Rep: Reputation: 0
could not open session

What files are touched when creating a new user? I know of the /etc/passwd and /etc/group, but any other? I had problems with the /etc/passwd file and thought I had restored the original file. But when I login with a new user account, the prompt appears as follows:
I have no name@xxxxxxx<username>.
Also, as root I su to this new username and the message is: could not open session.

Any clues? I'm trying to avoid a re-install.

BTW, I'm running RH 7.1 and because I only have 1 disk, created a separate partition for the home directory and added a symbolic link(to minimize potential damage)
Old 12-01-2003, 10:47 AM   #2
LQ Newbie
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
Smile could not open session with "su - user"


As I found out why Linux Redhat 7.1,7.2 and 7.3 servers sometimes display the message "could not open session" when you enter "su - user", I think it should help you.

To debug this, you have to modify one file, named "su" in /etc/pam.d

You should replace, in the lines begined by "auth", "account","password" and "session", the word "required" with the word "optional".

It's the only way to rid off this issue.

Please be careful. Security holes may occur.

Best regards.

Thierry Myotte

PS : please, forgive me for my bad english.


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
Can't Open My X Session T-u-N-i-X Linux - Software 4 08-02-2005 04:31 PM
could not open session bigcc Linux - General 7 04-15-2004 08:40 AM
Cannot open X session spid Linux - General 4 01-28-2004 03:14 PM
How to open several Session X bart59 Linux - General 13 05-23-2003 01:45 PM
could not open session czech Linux - General 0 08-29-2002 07:49 PM > Forums > Linux Forums > Linux - Newbie

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