HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Could not open a session
Operating System - Linux
1828985
Members
2072
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 07:41 AM
05-17-2010 07:41 AM
Could not open a session
$ su -
Password:
could not open session.
$ uname -a
Linux XXXXXXXX 2.6.18-128.el5
I am getting an error when I try to su to root or other users. I did check the /etc /etc/passwd /etc/shadow and /etc/pam.d file permissions.
$ ls -ld /etc /etc/passwd /etc/shadow /etc/pam.d
drwxr-xr-x 82 root sys 9216 May 17 09:29 /etc
drwxr-xr-x 2 root security 3072 May 13 13:07 /etc/pam.d
-rw-r--r-- 1 root root 24135 May 12 09:55 /etc/passwd
-r-------- 1 root root 13384 May 12 09:55 /etc/shadow
Can someone please help/advise??
Thanks.
Password:
could not open session.
$ uname -a
Linux XXXXXXXX 2.6.18-128.el5
I am getting an error when I try to su to root or other users. I did check the /etc /etc/passwd /etc/shadow and /etc/pam.d file permissions.
$ ls -ld /etc /etc/passwd /etc/shadow /etc/pam.d
drwxr-xr-x 82 root sys 9216 May 17 09:29 /etc
drwxr-xr-x 2 root security 3072 May 13 13:07 /etc/pam.d
-rw-r--r-- 1 root root 24135 May 12 09:55 /etc/passwd
-r-------- 1 root root 13384 May 12 09:55 /etc/shadow
Can someone please help/advise??
Thanks.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 12:23 PM
05-17-2010 12:23 PM
Re: Could not open a session
your "su - " means to root by default, is root account in the /etc/passwd?
the error suggests that the user account you try to become does not exist on the system, here is in the /etc/passwd.
the error suggests that the user account you try to become does not exist on the system, here is in the /etc/passwd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 12:50 PM
05-17-2010 12:50 PM
Re: Could not open a session
You should post the content of your /etc/pam.d/su and /etc/pam.d/system-auth files. Also, what you get in /var/log/messages and /var/log/secure when you try to "su" to root.
Maybe you need to be member of the wheel group.
Maybe you need to be member of the wheel group.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2010 10:53 AM
05-27-2010 10:53 AM
Re: Could not open a session
Check for resource exhaustion conditions, you might be running out of file descriptors and/or allowed processes.
Use ulimit to determine the current limits.
Use ulimit to determine the current limits.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP