DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th December 2008
l2fl2f's Avatar
l2fl2f l2fl2f is offline
Real Name: Yves Guerin
Port Guard
 
Join Date: May 2008
Location: Montreal, Quebec, Canada
Posts: 25
Thanked 1 Time in 1 Post
Post cannot open cloning pty

Hello,

I try to login into my box, I change my shell to /usr/local/bin/sudosh, I put the /usr/local/bin/sudosh into the /etc/shells, and it run under 6.3 but not with 6.4
I change the md5 to blf (/etc/login.conf + cap_mkdb /etc/login.conf) change my password. I am able to login as root (using /bin/tcsh in the passwd file)

What I miss ?

Thank in advance
Reply With Quote
  #2   (View Single Post)  
Old 10th December 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,074
Thanked 198 Times in 156 Posts
Default

The title of this thread is `cannot open cloning pty', is this an error message you get somewhere?

How did you change the shell to sudosh? Maybe something went wrong there?

And did you change root's shell to sudosh or did you change your user's shell?
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 10th December 2008
l2fl2f's Avatar
l2fl2f l2fl2f is offline
Real Name: Yves Guerin
Port Guard
 
Join Date: May 2008
Location: Montreal, Quebec, Canada
Posts: 25
Thanked 1 Time in 1 Post
Default

Hello,

I get this error message when I try to log in to my box with my username. I change the default shell: /bin/tcsh by /usr/local/bin/sudosh. At the console or if I log in as root and try to do a "su - myusername" I got this message:

"Cannot open cloning master pty: Permission denied
open pty failed: Permission denied"

I changed the shell with chsh -s /usr/local/bin/sudosh myusername, as root.
I didn't change the root shell, only the shell of my test user.

I run under a livecd done by my self (it run under 6.3 p#5).

I rerun the procedure above and I get the same error (double check, sometime ...)

Regards,
Reply With Quote
Reply

Tags
pty login

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloning an entire drive? spiderpig OpenBSD General 10 7th May 2012 12:23 PM
Open-source Flash? stukov Off-Topic 35 17th December 2009 04:53 PM
can't open display error gosha OpenBSD General 12 28th May 2009 05:49 AM
Open BSD 4.4 boot up issue jaideep_jdof OpenBSD Installation and Upgrading 7 17th November 2008 06:32 PM
Cloning FreeBSD tomcatf14 FreeBSD Installation and Upgrading 5 10th June 2008 09:26 PM


All times are GMT. The time now is 07:06 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick