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) |
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. |
All times are GMT -5. The time now is 02:45 AM. |