On Tue, Feb 26, 2013 at 01:46:55AM -0800, goorooj wrote:
> ok, with your informations and after a search i found out what's gone wrong:
> i am on a debian system and have to enable /bin/bash for bacula user to su.
> http://wiki.bacula.org/doku.php?id=sshtunnel
su - bacula -s /bin/sh
would have been enough for a temporary job as 'bacula'. The '-' is
important as it gives you the actual environment of the bacula user,
e.g. $HOME.
For the ssh-call itself, you might consider
ssh -t
to allocate a pseudo terminal, if the job you want to run would like to
have one.
Regards,
Adrian
--
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax: +49 (7 11) 78 28 50 91
Mail: lihas AT lihas DOT de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|