- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr/bin/false generates memory fault
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
12-19-2001 01:23 AM
12-19-2001 01:23 AM
I'm updating my passwd-file, I want the pseudo-users to have the /usr/bin/false 'shell' so the can't be used at login. But when I'm testing the stuff, I do a su - (e.g.) lp (as root), I get back the message 'sh: No shell'and then 'memory fault'. It's this last line that worries me, what can cause this memoryfault?
In /usr/bin/false I just have 'exit 1'.
Anybody got any ideas??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 02:27 AM
12-19-2001 02:27 AM
SolutionYou have two options:
1. Ignore it. Its not causing a major problem is it?
2. Log a call and report it to HP as it looks like a bug.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 03:00 AM
12-19-2001 03:00 AM
Re: /usr/bin/false generates memory fault
if it is "r--r--r--", change it to "r-xr-xr-x"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 03:05 AM
12-19-2001 03:05 AM
Re: /usr/bin/false generates memory fault
I am curious to know why these scripts are incorrect - is there a reason or is this an error? Anyone?
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 03:27 AM
12-19-2001 03:27 AM
Re: /usr/bin/false generates memory fault
as far as I'm aware this is a known issue and "to be fixed" at 11.00 though installing PHCO_16127 is a good idea (su patch).
From my understanding .... pam_end was being called twice in su.c at the end of su then execl would fail due to "No shell". This caused freeing a
non-referenced pointer, thus causing the core dump. The fix will be if there's
a non-executable shell, or if the shell doesn't exist, the error message "No shell" is returned and we exit gracefully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 06:47 AM
12-19-2001 06:47 AM
Re: /usr/bin/false generates memory fault
Thanx for helping,
greetz Timo Wilschut