Help with Getting Stunnel Running


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Help with Getting Stunnel Running
# 1  
Old 09-20-2011
Help with Getting Stunnel Running

OS: Sun Solaris 10 (5.10)

Stunnel has been installed but when I try to run it, I get a directory permission error. Not sure what it means by 'Not owner' even though that's plain English.

I have changed the chroot to a directory (var/tmp) that I'm sure all users have access to so not sure what's going on? I have also tried to change to a directory that is owned by my user; but same problem.

Any help is appreciated.

-------------------------

drwxrwxrwt 8 root sys 512 Sep 20 19:42 tmp
drwxrwx--T 3 user stunnel 512 Sep 20 16:13 stunnel

-------------------------

chroot = /var/tmp/stunnel/
setuid = nobody
setgid = nogroup
; PID is created inside chroot jail
pid = /stunnel.pid

-------------------------

2011.09.20 19:40:49 LOG5[1231:1]: stunnel 4.21 on i386-pc-solaris2.8 with OpenSSL 0.9.8p 16 Nov 2010
2011.09.20 19:40:49 LOG5[1231:1]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6
2011.09.20 19:40:49 LOG6[1231:1]: file ulimit = 256 (can be changed with 'ulimit -n')
2011.09.20 19:40:49 LOG6[1231:1]: poll() used - no FD_SETSIZE limit for file descriptors
2011.09.20 19:40:49 LOG5[1231:1]: 125 clients allowed
2011.09.20 19:40:49 LOG7[1231:1]: FD 4 in non-blocking mode
2011.09.20 19:40:49 LOG7[1231:1]: FD 5 in non-blocking mode
2011.09.20 19:40:49 LOG7[1231:1]: FD 6 in non-blocking mode
2011.09.20 19:40:49 LOG7[1231:1]: SO_REUSEADDR option set on accept socket
2011.09.20 19:40:49 LOG7[1231:1]: SessionInternet bound to 0.0.0.0:9000
2011.09.20 19:40:49 LOG3[1232:1]: chroot: Not owner (1)

Last edited by neapolitan; 09-21-2011 at 02:15 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Stunnel as non root !!

HI I'm trying to install stunnel as(or in) non-root user. there are these options setuid and setgid in stunnel.conf ,that by default are "nobody". but u can change them to "user" .. to enable stunnel in non root mode I tried doing it but no luck. Please drop in your valuable suggestions ... (2 Replies)
Discussion started by: leghorn
2 Replies

2. UNIX and Linux Applications

Update CRL in stunnel?

Hi, Does anyone know if there is a way to update CRLs in stunnel, without restarting stunnel? If I copy a new CRL to my CRLPath, it is only used for services (from config file) that hasn't been used yet. Services that has been used at least once does not care about new CRLs... (0 Replies)
Discussion started by: pelig
0 Replies

3. SCO

Starting up stunnel on SCO Openserver 5.0.7

Hi there I have compiled a binary of stunnel for SCO Openserver 5.0.7 At the moment the binary is in /u/testroom/sbin/stunnel as root I cd to /u/testroom/sbin and start the stunnel daemon up with ./stunnel The stunnel log shows when users successfully connect or disconnect, so... (1 Reply)
Discussion started by: The_Librarian
1 Replies

4. Solaris

Running from Shell Vs running from RC script

Hi, i have a script which need to do behave differently when run as a startup process from init.d/ rc2.d script and when run manually from shell. How do i distinguish whether my script is run by init process or by shell?? Will the command /proc/$$/psinfo | grep "myscript" work well???... (2 Replies)
Discussion started by: vickylife
2 Replies

5. UNIX for Advanced & Expert Users

How to prevent job1 from running while job2 is running..

Hi, Please I need your expert advise on how to prevent/lock from execution job1 while job2 is still running in Unix... THanks:) (3 Replies)
Discussion started by: tikang
3 Replies

6. UNIX for Advanced & Expert Users

stunnel will not start

am tring to start stunnel version 4.05 that come standard with Suse Enterprise 9 CD. I intend to start stunnel as a daemon, I have generate and self signed the certificate using openssl with openssl version 0.9.7d but stunnel will not start up instead I received the following error message ... (1 Reply)
Discussion started by: hassan1
1 Replies
Login or Register to Ask a Question