[02:09] hi there guys i have my Ubuntu server installed [02:09] but as i check there is a internal firewall rules [02:09] any chance how do i disable it adn removed it somehow.? [02:10] any idea guys.? [02:12] ruben23: if you want to uninstall ufw rather than configure it, feel free, just be careful you don't make mistakes configuring your services [02:15] sarnold: how do i disable or remove the ufw.? or maybe temporarly disable for testing purposes [02:15] ruben23: 'ufw disable' if you want to turn it off [02:15] ruben23: apt-get purge ufw if you decide you don't want it at all [02:16] when disable this comes up again after reboot right..? [02:17] probably [03:09] stupid question: is there some way to scroll line by line in the console instead of the half-page lengths with shift+pg up/down? [03:26] I suppose I'll just use gnu screen [03:27] 16.04 server php 7 zlib is not there [03:28] any ideas why is kinda missing [03:42] hi guys [03:43] im currently on root on my ubuntu server and i have a username asterisk, any idea how do i access that.? [03:43] without re login.? [03:47] ruben23: su - asterisk [03:47] ruben23: or sudo -u asterisk -i [03:47] ruben23: the first one would prompt you for asterisk's password, the second would prompt you for your own password, otherwise they do largely the same thing [03:49] tarpman: asterisk user have a script that runs successfully, but when i used root it does not run [03:50] how do i make the root user be able to run the asterisk user permission also.? [03:50] any idea.? [03:50] ruben23: if the script is designed to be run as asterisk, probably you should run it as asterisk [03:51] but i need to run it on root also, most of the time [03:51] why? [03:51] coz during operation the default setup is on root [03:51] during our monitoring [03:52] also you can easily write a one-liner that does 'runuser - asterisk -c ' [03:52] and run that as root [03:53] but im not sure i to put it automatic [03:54] coz by default when i run asterisk im at root [03:54] and the system script just run automatically [03:54] please help [03:56] tarpman:..? [03:57] sorry, I'm not understanding what you're trying to do [03:59] s3cmd - is a script, when i run it manually on user asterisk it runs the script but with root in automatic it does not run [03:59] what do you mean by "in automatic" [04:00] automatic means the script runs auto [04:00] are you trying to make a cron job? a system service? all of these things have features for running commands as specified users [04:00] it would help if you phrase your question in more general terms like "I have a script that uses s3cmd to back up my asterisk server to AWS and I want it to run periodically" [04:01] (that might not actually be what you want, it's just a guess) [04:03] ok this s3cmd script is set on na asterisk telephone system where when a calls comes in it is triggered to upload a recording to an AWS storage, now when we run the script runs but it does not upload at all, but when we used the user asterisk it runs and it uploads perfectly [04:04] ok. what triggers it and why can't it trigger as asterisk? [04:04] we manually used the user asterisk to run the script [04:04] and why can't it trigger a wrapper script of your own devising that calls runuser(8) like I suggested above? [04:05] yes how do i invoke an asterisk user on a script.? [04:05] i dont know how to do it [04:05] I haven't used s3cmd so I don't know what it would be depending on in asterisk's environment. probably needs the $HOME/.aws for credentials, or something like that [04:05] I already said, above [04:05] runuser -l asterisk -c 'the command to run as asterisk' [05:44] Good morning === beardfac1 is now known as beardface === beardface is now known as beardfac1 === beardfac1 is now known as beardface [07:23] anyone know how i can do so a user only can see his own home dir and nothing else with sftp? [07:29] funabashi: do the users have shells that you'd still like them to be able to use? [07:31] funabashi: I think the ChrootDirectory directive to sshd_config might be able to do the job, but if you also want them to be able to use a shell when they ssh in normally, it'll probably be trouble [07:32] funabashi: if ChrootDirectory doesn't do it you might be able to wrap sftp-server with an AppArmor profile; this might require profiling sshd too. If you head down that route it'd be a good idea to have another terminal open with a root shell sitting somewhere handy but unlikely to be accidentally closed :) [07:35] no ssh access [07:35] aha, then ChrootDirectory sounds promising. :) [07:35] chroot normally has enough troubles that I don't like recommending it [07:35] but if they just sftp and don't ssh, it'll probably work okay [07:35] sarnold: do maybe can recommend any guide for this? [07:36] funabashi: I don't know of any off-hand, sorry [07:36] the sshd_config(5) manpage is the best I know, and it's too terse === frickler_ is now known as frickler === RoyK^ is now known as RoyK === med_ is now known as Guest72612 === mhcerri_ is now known as mhcerri === sforshee` is now known as sforshee [14:32] jamespage: sorry, I've had some network issues at the sprint -- re: python-django, are you still blocked by the openstack stuff in proposed? [14:33] nacc: I've not looked specificaly at the django stuff yet - but yes openstack pike b1 is jammed in proposed - mostly blocked on kombu / celery compat atm I think [14:34] jamespage: ok, if there's anything i can do to help, let me know :) [14:41] cpaelzer: your dpdk merge is empty [15:01] powersj: LP: #1627768 [15:01] Launchpad bug 1627768 in multipath-tools (Ubuntu) "multipath silently crashes with general protection" [Undecided,Triaged] https://launchpad.net/bugs/1627768 === ratliff_ is now known as ratliff [15:34] nacc: cool, I"m glad to hear my release notes section for NGINX on Server works as is :) [15:43] coreycb: I've pushed all of the b2 dependency updates to artful in perparation for b2's tomorrow [15:44] jamespage: excellent [15:51] how do i stop the time from automatically syncing and adjust the time manually [16:05] powersj: has content now, thanks for the ping [16:58] JrWebDev: disable ntpd; you can then use date to set the time === JanC_ is now known as JanC [20:22] Hey does preseed support copying a file from the installation media to the installed system? [20:57] hashwagon: you can do arbitrary commands in a preseed === cpaelzer_ is now known as cpaelzer [22:38] ahasenack: http://pad.ubuntu.com/61wJGD7csl [22:38] let's see [22:38] ahasenack: if you want to take a look at the old samba's [23:14] cpaelzer: the trusty nomination we talked about: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/820679 [23:14] Launchpad bug 820679 in samba (Ubuntu) "nmbd and smbd will not be started again on transition from runlevel 1 to 2" [Medium,Triaged]