<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RHEL4.8 how to allow a null password in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460266#M37508</link>
    <description>Thanks to all for the suggestions.  I think the mark is being missed though.  Here is some more explanation.  I need to be able to telnet as root (with root password) and get to the command line.  And also telnet as super (root ID) with super password and go right into app.  I've run passwd -d super to delete password but that didn't work.  I moved super to top of /etc/passwd and moved root to second line.  I am able to telnet as root but can't as super.  I try to enter the app password but it isn't taking.  Below are the /etc/passwd entries.&lt;BR /&gt;&lt;BR /&gt;root:x:0:0:root:/root:/bin/ksh&lt;BR /&gt;super:x:0:200:root:/tmp:/usr/security/secure&lt;BR /&gt;&lt;BR /&gt;thanks to all&lt;BR /&gt;Matt</description>
    <pubDate>Fri, 17 Jul 2009 12:47:47 GMT</pubDate>
    <dc:creator>Matt Shaffer_1</dc:creator>
    <dc:date>2009-07-17T12:47:47Z</dc:date>
    <item>
      <title>RHEL4.8 how to allow a null password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460260#M37502</link>
      <description>We run a cobol app on top of our RHEL OS.  The app has it's own security(login/password combo) so I want to allow for a null OS password or maybe what I want is to skip the OS password all together.  I've been trying different things in pam.d but haven't had success.  Any ideas?  Thanks.</description>
      <pubDate>Wed, 15 Jul 2009 11:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460260#M37502</guid>
      <dc:creator>Matt Shaffer_1</dc:creator>
      <dc:date>2009-07-15T11:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: RHEL4.8 how to allow a null password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460261#M37503</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;Did you try "nullok" option for pam_unix module?&lt;BR /&gt;&lt;BR /&gt;        Goran</description>
      <pubDate>Wed, 15 Jul 2009 12:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460261#M37503</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2009-07-15T12:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: RHEL4.8 how to allow a null password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460262#M37504</link>
      <description>Maybe I should be more specific.  I am telneting as a root user.  Below is some detail:&lt;BR /&gt;&lt;BR /&gt;B0010-&amp;gt; grep -l nullok *&lt;BR /&gt;system-auth&lt;BR /&gt;xscreensaver&lt;BR /&gt;&lt;BR /&gt;B0010-&amp;gt; cat system-auth&lt;BR /&gt;#%PAM-1.0&lt;BR /&gt;# This file is auto-generated.&lt;BR /&gt;# User changes will be destroyed the next time authconfig is run.&lt;BR /&gt;auth        required      /lib/security/$ISA/pam_env.so&lt;BR /&gt;auth        sufficient    /lib/security/$ISA/pam_unix.so likeauth nullok&lt;BR /&gt;auth        required      /lib/security/$ISA/pam_deny.so&lt;BR /&gt;&lt;BR /&gt;account     required      /lib/security/$ISA/pam_unix.so&lt;BR /&gt;&lt;BR /&gt;password    required     /lib/security/$ISA/pam_cracklib.so retry=3&lt;BR /&gt;password    sufficient    /lib/security/$ISA/pam_unix.so nullok use_authtok md5&lt;BR /&gt;shadow&lt;BR /&gt;password    required      /lib/security/$ISA/pam_deny.so&lt;BR /&gt;&lt;BR /&gt;session     required      /lib/security/$ISA/pam_limits.so&lt;BR /&gt;session     required      /lib/security/$ISA/pam_unix.so&lt;BR /&gt;&lt;BR /&gt;thanks for the help&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jul 2009 16:18:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460262#M37504</guid>
      <dc:creator>Matt Shaffer_1</dc:creator>
      <dc:date>2009-07-15T16:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: RHEL4.8 how to allow a null password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460263#M37505</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Look at the user profiles of bin and some of the daemons in /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Perhaps you could duplicate one of them, change the UID and GID and get something that is never used for login.&lt;BR /&gt;&lt;BR /&gt;Or you can start this product as follows:&lt;BR /&gt;&lt;BR /&gt;/bin/su - c username "command to start daemon"&lt;BR /&gt;&lt;BR /&gt;This would if run by root bypass the OS password.&lt;BR /&gt;&lt;BR /&gt;It would require root access, but an admin or cron can do the job.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 15 Jul 2009 16:39:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460263#M37505</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-15T16:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: RHEL4.8 how to allow a null password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460264#M37506</link>
      <description>Ahh check logs, I suspect your problem is "securetty" - a message in logfiles will confirm it.&lt;BR /&gt;&lt;BR /&gt;Goran</description>
      <pubDate>Thu, 16 Jul 2009 04:15:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460264#M37506</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2009-07-16T04:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: RHEL4.8 how to allow a null password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460265#M37507</link>
      <description>I once did something similar by configuring telnetd to start a custom script instead of a "login" program. That script would then setup the necessary environment and then use "su - username command" to start the application as a specific user dedicated to that purpose.&lt;BR /&gt;&lt;BR /&gt;Of course, there is the side effect that you cannot use the same port for normal logins at all: any telnet login is automatically directed to the application instead. &lt;BR /&gt;&lt;BR /&gt;You *could* choose to dedicate telnetd for the use of this COBOL application only, and use SSH or other login methods for system administration. Or you could set up a second copy of telnetd in a custom port: in that case it's your choice whether you put the regular telnet access or the application-customized version to the custom port.&lt;BR /&gt;&lt;BR /&gt;To create a second copy of the telnet service:&lt;BR /&gt;1.) Assign a service name for your custom port in /etc/services, for example:&lt;BR /&gt;&lt;BR /&gt;customtelnet    2323/tcp&lt;BR /&gt;&lt;BR /&gt;2.) Copy the telnet service configuration file and edit its service definition to&lt;BR /&gt;refer to your custom service name:&lt;BR /&gt;&lt;BR /&gt;cp /etc/xinetd.d/telnet /etc/xinetd.d/customtelnet&lt;BR /&gt;&lt;BR /&gt;edit /etc/xinetd.d/customtelnet to change the "service telnet" line to "service customtelnet"&lt;BR /&gt;&lt;BR /&gt;3.) run "service xinetd restart" or send a HUP signal to the xinetd process.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To make the telnet service start your application (or its startup script, if necessary):&lt;BR /&gt;1.) edit the telnet service definition in /etc/xinetd.d (either the standard or custom one, your choice) to add a "server_args" line to the service definition.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;service telnet&lt;BR /&gt;{&lt;BR /&gt;    flags           = REUSE&lt;BR /&gt;    socket_type     = stream        &lt;BR /&gt;    wait            = no&lt;BR /&gt;    user            = root&lt;BR /&gt;    server          = /usr/sbin/in.telnetd&lt;BR /&gt;    server_args     = -L /usr/local/bin/your-app-startup-script&lt;BR /&gt;    log_on_failure  += USERID&lt;BR /&gt;    disable         = no&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;(Note: with a quick reading of telnetd man page, it looks like you may have to add the "-a off" option to the server_args line too. I don't have a RHEL4 machine I could use for testing this at the moment, so you'll have to check it yourself.)&lt;BR /&gt;&lt;BR /&gt;(Note 2: changing the "user" line in the xinetd service definition to an application-dedicated userid would probably be more secure than using su in application startup script. But that may require some extra care in setting up the shell environment before starting up the application.)&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 16 Jul 2009 05:30:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460265#M37507</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-07-16T05:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: RHEL4.8 how to allow a null password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460266#M37508</link>
      <description>Thanks to all for the suggestions.  I think the mark is being missed though.  Here is some more explanation.  I need to be able to telnet as root (with root password) and get to the command line.  And also telnet as super (root ID) with super password and go right into app.  I've run passwd -d super to delete password but that didn't work.  I moved super to top of /etc/passwd and moved root to second line.  I am able to telnet as root but can't as super.  I try to enter the app password but it isn't taking.  Below are the /etc/passwd entries.&lt;BR /&gt;&lt;BR /&gt;root:x:0:0:root:/root:/bin/ksh&lt;BR /&gt;super:x:0:200:root:/tmp:/usr/security/secure&lt;BR /&gt;&lt;BR /&gt;thanks to all&lt;BR /&gt;Matt</description>
      <pubDate>Fri, 17 Jul 2009 12:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460266#M37508</guid>
      <dc:creator>Matt Shaffer_1</dc:creator>
      <dc:date>2009-07-17T12:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: RHEL4.8 how to allow a null password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460267#M37509</link>
      <description>Here are 2 lines from /var/log/messages.&lt;BR /&gt;&lt;BR /&gt;Jul 17 09:45:20 B0010 remote(pam_unix)[7842]: authentication failure; logname= u&lt;BR /&gt;id=0 euid=0 tty=pts/1 ruser= rhost=mshaffer-laptop.wescodist.com  user=super&lt;BR /&gt;Jul 17 09:45:22 B0010 login[7842]: FAILED LOGIN 1 FROM mshaffer-laptop.wescodist&lt;BR /&gt;.com FOR super, Authentication failure&lt;BR /&gt;&lt;BR /&gt;Jul 17 09:47:47 B0010 remote(pam_unix)[7845]: session opened for user root by (u&lt;BR /&gt;id=0)&lt;BR /&gt;Jul 17 09:47:47 B0010  -- root[7845]: ROOT LOGIN ON pts/1 FROM mshaffer-laptop.w&lt;BR /&gt;escodist.com&lt;BR /&gt;Jul 17 09:59:50 B0010 remote(pam_unix)[7845]: session closed for user root&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Jul 2009 13:24:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel4-8-how-to-allow-a-null-password/m-p/4460267#M37509</guid>
      <dc:creator>Matt Shaffer_1</dc:creator>
      <dc:date>2009-07-17T13:24:39Z</dc:date>
    </item>
  </channel>
</rss>

