Home > Beta, Developer, Fixes & Tips, Kernel / Internals, OpenSolaris, Operating Systems, Security > OpenSolaris FIX: Server refused to allocate pty (SSH)

OpenSolaris FIX: Server refused to allocate pty (SSH)

Just upgraded a friends OpenSolaris boxen to SNV_134 (latest available from the OpenSolaris dev repository) and after rebooting we realised we couldn’t SSH into it.

Server refused to allocate pty

DOH! This is caused by a known bug that has been around for a few builds now.

You’ll need to modify /etc/minor_perm and add the following to the bottom of the file.

clone:ptmx 0666 root sys

And what happens if your terminals don’t accept keyboard input? You could drop back into the shell *or* be lazy like me, find gText editor in your Accessories, add it to the panel and change the properties to run it as a privileged user:

pfexec gedit %U

Then run the file, open the /etc/minor_perm file, save and reboot. Make sure you change back the shortcut path 🙂

{lang: 'en-GB'}
  1. May 12th, 2010 at 23:38 | #1

    thanks man. just upgraded too and realized i could not remote login!

  2. Martin
    May 15th, 2010 at 11:00 | #2

    hello just wondering if this also applies for 130 because i cannot move to 134 but have said problem

  3. Martin
    May 15th, 2010 at 11:23 | #3

    ok it worked perfectly on 130! THANKS!

  4. Emily N.
    June 9th, 2010 at 01:32 | #4

    Hi, I’m very interested in Linux but Im a Super Newbie and I’m having trouble deciding on the right distribution for me (Havent you heard this a million times?) anyway here is my problem, I need a distribution that can switch between reading and writing in English and Japanese (Japanese Language Support) with out restarting the operating system.

  5. mike
    July 22nd, 2010 at 16:12 | #5

    I just had this happen to me after upgrading from 122 to 134.
    I had console access, but terminals were just not working, su and sudo weren’t any good. but fortunately pfexec was, i just ran “pfexec gedit /etc/minor_perm”, added the absent line, saved & rebooted

  1. May 13th, 2010 at 01:58 | #1