LinuxQuestions.org
Help answer threads with 0 replies.
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-02-2002, 08:15 AM   #1
Frankie
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, 09:47 AM   #2
LIA90Help
LQ Newbie
 
Registered: Nov 2003
Posts: 1

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

Hello.

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
France.

PS : please, forgive me for my bad english.
 
  


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


All times are GMT -5. The time now is 10:59 AM.

Main Menu
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