[Freeswitch-users] Skype interaction commands on skypiax
Giovanni Maruzzelli
gmaruzz at celliax.org
Tue Apr 7 09:32:16 PDT 2009
svn commit -m"skypiax: modified configs/startskype.sh to specify which
unix user will start the Skype client instance. Thx to
mbrancaleoni at voismart.it"
Sending configs/startskype.sh
Transmitting file data .
Committed revision 12937.
:-)
On Tue, Apr 7, 2009 at 10:13 AM, Matteo <mbrancaleoni at voismart.it> wrote:
> Ciao Giovanni,
>
> I suggest to update the startskype.sh script by adding a "su username" statement,
> in this way:
>
> instead of starting skype as
>
> echo "myskypeuser xxx" | DISPLAY=:101 /usr/bin/skype --pipelogin &
>
> is better to do:
>
> su unixusername -c "echo 'myskypeuser xxx' | DISPLAY=:101 /usr/bin/skype --pipelogin &"
>
> for two reason:
> you can easily put config into a non-root user
> AND
> the startskype.sh will work also if called from init.
>
> in fact, a plain
>
> echo "myskypeuser xxx" | DISPLAY=:101 /usr/bin/skype --pipelogin &
>
> will not work when called from init script,
> you have to do (even with root)
>
> su root -c "echo 'myskypeuser xxx' | DISPLAY=:101 /usr/bin/skype --pipelogin &"
>
> in any other way skype will not get the user home directory...
>
> This is my 2c experience on centos 5.2.
>
> regards,
> matteo.
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
More information about the FreeSWITCH-users
mailing list