User's can't modify password

Runrev

Registered
Sep 26, 2013
2
0
1
cPanel Access Level
Root Administrator
We're experiencing a rather strange issue whereby user's can't use cPanel's Change Password feature, but passwords can be successfully reset using WHM.

The Change Password screen loadsand appears to submit, but the second page is blank and clicking the "show raw password change" link producing only a black box.

Errors are generated in /usr/local/cpanel/logs/error_log:


Code:
pty_allocate(nonfatal): posix_openpt(): No such file or directory at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/IO/Pty.pm line 24, <STDIN> line 1.
pty_allocate(nonfatal): getpt(): No such file or directory at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/IO/Pty.pm line 24, <STDIN> line 1.
pty_allocate(nonfatal): openpty(): No such file or directory at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/IO/Pty.pm line 24, <STDIN> line 1.
IO::Tty::pty_allocate(nonfatal): grantpt(): No such file or directory at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/IO/Pty.pm line 24, <STDIN> line 1.
IO::Tty::open_slave(nonfatal): ptsname_r(): No such file or directory at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/IO/Pty.pm line 24, <STDIN> line 1.
IO::Tty::open_slave(nonfatal): open(/dev/pts/0): No such file or directory at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/IO/Pty.pm line 24, <STDIN> line 1.
pty_allocate(nonfatal): open(/dev/ptmx): No such file or directory at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/IO/Pty.pm line 24, <STDIN> line 1.
Cannot open a pty at /usr/local/cpanel/bin/securechpass line 62
We're running cPanel version 11.38.2 (build 6), in fact we're running several servers with this, but only one of them has this problem.

Does anyone have any ideas how we might fix it?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

It's likely the "devpts" filesystem is missing from your /etc/fstab file. Check that with a command such as:

Code:
grep devpts /etc/fstab
You may want to consult with a qualified system administrator or your data center to ensure it's properly configured.

Thank you.