Re: allowing an @ sybol in a password



Thorbjoern Ravn Andersen <nospam0...@xxxxxxxxx> wrote:
Bryan <bryan.engebret...@xxxxxxxx> writes:

for this, or a config file that I can change to allow an @ in the
password?  Using HP-UX B.11.11 for an OS.  Much appreciated,

It appears that you have teletype settings.
From http://hell.org.ua/Docs/oreilly/unix/upt/ch41_02.htm

"Teletypes were printers, incapable of erasing, so the erase and kill
characters were just ordinary printing characters, namely # and @."

So you should have a similar problem with hashmarks in your passwords :)

Yes. That's a classic HPUX problem - The initial password prompt
uses the original default settings because there isn't any other
authoritative definition at the time. Putting it somewhere like
/etc/profile doesn't get referenced until much later in the process.
I would rather they pick some modern defaults but I understand why
they chose the authoritative option.

The fun part comes in when passwords are asked for in various
environments. If you already have a full environment set up with a
running shell, settings for character and line erase and so on, it
will use your current environment. At which time both @ and #
work in passwords. The most common time is "su". But if you're
at a login: prompt on the console or in a login issued by init any
other way, then there's no default set and it uses @ and #.

The primary solution is to know this about HPUX and never use
either character in your passwords. It's PAM module should
forbid them.

The secondary solution is to know when the password prompt
was issued with an environment or not and escape with either
backslash or control-V. This is more of a workaround once
someone already made the initial mistake. It should be corrected
ASAP to a working password.

In a mixed OS environment tell users not to use @ or #.
.



Relevant Pages

  • Re: Pompeii - First Thoughts with Spoilers
    ... Water pistol ... I viewed the story today and thought the modern slang ... but having all your period characters ... enough time to the environment, and the quick-zoom direction was off- ...
    (rec.arts.drwho)
  • Re: Windows disables write-cacheing on boot drive
    ... and having the write-cache settings reset upon each reboot. ... > available in the environment, ... .reg file to run as a startup file or set that entry in a GPO as a registry ...
    (microsoft.public.win2000.dns)
  • Windows XP Service Pack 2
    ... WAN 9000 times. ... and have noticed that in my environment, Windows 2000 AD 2000 that many GPO ... settings made have no effect. ... environment, and protecting the users from themselves, as well as helping me ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Problem in printing French Character!
    ... I did change the settings as you described. ... Those characters not shown correctly are those in French characters only, ... To add to this, I tried to print out some other pdf documents in French, ... Whenever I print out the pdf form in French (everything ...
    (microsoft.public.windowsxp.print_fax)
  • Re: Text environment
    ... | standard environment - but the problem is not this but distinguishing ... Control characters are not valid in variable names. ... The parser has to keep track of the current context; ... In most other command processor languages the value of a variable does not ...
    (comp.os.msdos.4dos)