![]() |
|
CENTOS 5.7 "there are no more ptys" Using screen on Non-Root User - Printable Version +- Free VPS Discussion (//freevps.us) +-- Forum: Free VPS Discussion (/forum-1.html) +--- Forum: Help & Support (/forum-2.html) +--- Thread: CENTOS 5.7 "there are no more ptys" Using screen on Non-Root User (/thread-3664.html) Pages: 1 2 |
CENTOS 5.7 "there are no more ptys" Using screen on Non-Root User - d3spis3m3 - 01-23-2012 10:49 AM Error using screen on Non-Root User for some reason. only by using sudo or root account can you run screen. I searched and searched and all the "fixes" said it was a permission error on /dev/ptmx Which was part of it but there was more to it. Here is the fix PHP Code: chmod 666 /dev/ptmx;RE: CENTOS 5.7 "there are no more ptys" Using screen on Non-Root User - Nevil - 01-23-2012 04:20 PM Sorry, but you can't use sudo or root on CentOS. You use Su. Looks like you have a Debian based OS, might be your problem. RE: CENTOS 5.7 "there are no more ptys" Using screen on Non-Root User - Kaloy - 01-24-2012 02:13 AM I've installed and used sudo on CentOS: Code: yum -y install sudoMaybe a update and reinstall would work: Code: yum -y remove sudoRE: CENTOS 5.7 "there are no more ptys" Using screen on Non-Root User - f8ll - 01-24-2012 05:49 AM (01-23-2012 10:49 AM)d3spis3m3 Wrote: For some reason only using sudo or root account can you run screen. I searched and searched and all the "fixes" said it was a permission error on /dev/ptmx Which was part of it but there was more to it. I've had this problem before. It's actually a problem on the host node mounting devpts. You should be contacting your provider and informing them of this problem. What you suggested does work and is a quick fix if you need it working right away. (01-23-2012 04:20 PM)Murderwrecker Wrote: Sorry, but you can't use sudo or root on CentOS. You use Su.You just don't have sudo installed and/or have root login disabled. CentOS is pretty much the only major disto that doesn't include sudo by default for some reason. Using sudo can be more secure than logging in as root. RE: CENTOS 5.7 "there are no more ptys" Using screen on Non-Root User - tux - 01-24-2012 06:12 AM (01-24-2012 05:49 AM)f8ll Wrote:Debian is another major distro which doesn't include sudo by default. But you can install this with apt-get.(01-23-2012 04:20 PM)Murderwrecker Wrote: Sorry, but you can't use sudo or root on CentOS. You use Su.You just don't have sudo installed and/or have root login disabled. CentOS is pretty much the only major disto that doesn't include sudo by default for some reason. Using sudo can be more secure than logging in as root. RE: CENTOS 5.7 "there are no more ptys" Using screen on Non-Root User - f8ll - 01-24-2012 06:28 AM hmm, you are actually right. http://wiki.debian.org/sudo Looks like sudo is installed with the Desktop task in squeeze. RE: CENTOS 5.7 "there are no more ptys" Using screen on Non-Root User - Kaloy - 01-24-2012 06:44 AM Most graphical application specially administration utilities requires sudo to gain root access and apply configuration changes. RE: CENTOS 5.7 "there are no more ptys" Using screen on Non-Root User - d3spis3m3 - 01-24-2012 07:40 AM (01-23-2012 04:20 PM)Murderwrecker Wrote: Sorry, but you can't use sudo or root on CentOS. You use Su. I'm sorry but yes you can use sudo on CENTOS it came on my VPS so.. RE: CENTOS 5.7 "there are no more ptys" Using screen on Non-Root User - ninetailfox97 - 01-24-2012 10:03 AM i have used screen on centos 5.7 on a user account without problems. RE: CENTOS 5.7 "there are no more ptys" Using screen on Non-Root User - d3spis3m3 - 01-24-2012 11:55 AM Ok, I was posting it if anyone else had problems with it. Why am I getting all these contradictions. If it worked for you right off the bat great. If this can't help you because you are "all almighty h4x0r king" then STFU and GTFO |