[00:33] #ubuntu-server [00:33] erofl [00:33] How the hell can i get Mod_rewrite or the Vitrualhost when using a vhost on 443 [00:43] Srgjames: hard to tell what exactly you are asking for, but: https://httpd.apache.org/docs/2.4/rewrite/vhosts.html [00:44] nacc so instead of Login.php its just login [00:44] Srgjames: you mean that http://.../login redirects to login.php? or you don't want to see login.php at all? [00:45] *https://... [00:47] nacc I have this file https://thorn.eveinterface.com/login.php but would rather people see https://thorn.eveinterface.com/login [00:53] Srgjames: i don't think that's what mod_rewrite is for [00:54] https://www.plothost.com/kb/how-to-remove-php-html-extensions-with-htaccess/ [00:54] though, maybe? it's limited to just the extension, afaict [00:59] mod_rewrite can do way more than just strip extensions http://httpd.apache.org/docs/current/mod/mod_rewrite.html [00:59] whether or not it *should* do those things is another question [01:05] sarnold no clue why but I cant get it to work at all [01:05] at least with extensions [01:27] sarnold: sorry, i meant the above link, htaccess based rewrite [01:28] ah! [01:29] sarnold: i'm not sure you can do more than the extension-based rewrite in htaccess [01:29] I never spent much time seeing what htaccess could do, those are re-read and re-parsed and so on every single request, so I pretend they don't exist because that's just silly. [01:31] heh [01:50] sarnold: can you even code creatively? [01:51] no, too old now [02:03] hi all [02:03] how to check if a port is open? [02:05] ss -l or netstat -lnp [02:14] blackflow: good day [02:14] I figure out the issue and it has something to do with codeigniter configuration [02:14] do you have any idea about it [02:46] sarnold: https://paste.debian.net/1034013/ [02:47] those are two separate commands. try them both. [02:51] sarnold: https://paste.debian.net/1034016/ [02:51] the port 3306 is open? [04:14] sarnold [04:14] if stop iptables i can connect to mysql if start cant connect... how to open the port? [06:15] Good morning [08:53] anybody seen issues with masked systemd files before? [08:53] https://bugs.launchpad.net/ubuntu/+source/redis/+bug/1782097 [08:53] Launchpad bug 1782097 in redis (Ubuntu) "redis-server systemd unit file is masked and cannot be enabled" [Undecided,New] [08:53] coreycb: semi-openstack related since redis is used in the CI when testing bionic+rocky ^ [08:57] did you edit /etc/redis/redis.conf and set supervised systemd ? [09:00] oerheks: thanks for the tip, setting supervised to "systemd" did not help, systemctl enable still fails [09:03] i found that on, https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-18-04 [09:03] umask gave no error .. curious [09:08] oerheks: weird, i spawned up a new bionic machine from vagrant and it worked [09:09] must be something puppet related that causes it to be masked or smth like that [09:10] wonder why i can't unmask though [09:15] oerheks: thanks for the help, I found the issue :) [09:15] tobasco, nice [09:15] is it just a glitch or ..? [09:17] oerheks: somehow related to puppet when installing the package, more of a workaround, don't enable it :( [09:17] :-) === blackflow is now known as blockflaw [10:04] anyone help me with the following step, step 6 at https://gitlab.com/tslocum/tinyib it says to set directories as writeable (https://i.gyazo.com/d3c5a3997a8aa3bf1db0f109df0f91b5.png) but what chmod number do I use for this and what command in Linux Ubuntu therein? [10:07] Writable for whom? [10:08] this is the thing thats confusing me I think... [10:08] it literally just says: CHMOD write permissions to these directories: [10:08] ./ (the directory containing TinyIB) [10:08] ./src/ [10:08] ./thumb/ [10:08] ./res/ [10:08] ./inc/flatfile/ (only if you use the flatfile database mode) [10:08] then lists those directories [10:08] I presume it means to make them writeable publically? [10:09] That sounds like a bad idea. [10:09] Investigate who needs those right and only give them the rights. [10:09] SomeT: don't crosspost, it's rude and wastes other peoples time [10:09] I just crossposted because that other guy is crying in there [10:10] so he is getting all the attention about his graphics driver [10:10] SomeT, i still wonder who needs write permissions, the user, or a group, or php ? [10:10] that guide is pretty ... not saying [10:11] would it be all three? [10:12] so basically 776? [10:12] Like I said, investigate. [10:12] I cant [10:12] this is all the info I have [10:14] Is it code that is supposed to run? [10:14] contact the maintainer(s) [10:14] no [10:15] the folders are empty [10:16] Looking at the gitlab page it looks like a bunch of photos scripts. So whoever runs the php stuff on your machine needs write rights, most likely. [10:18] add it to the www-data group? [10:23] Depends on the setup. [11:29] rbasak: hi, I didn't understand one thing about https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1249777 [11:29] Launchpad bug 1249777 in sssd (Ubuntu) "libsss-sudo generated nsswitch.conf leads to error messages upon sudo invocation" [Low,Confirmed] [11:29] rbasak: why are they installing the sss-sudo (name to be corrected) package if they do not want to use it? [11:29] it just comes along because of dependencies perhaps? [11:29] libsss-sudo* [11:37] ahasenack: I assume it's a Recommends so is coming in automatically. [11:37] sssd-common indeed recommends libsss-sudo [11:41] teward: hi, did you see https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1781971 ? [11:41] Launchpad bug 1781971 in nginx (Ubuntu) "nginx daemon should be provided in a package that doesn't have dependencies to systemd (or nginx-common)" [Undecided,New] [11:42] wishlist? [11:47] I commented with a side note [11:48] But yeah, +1 for Wishlist [11:50] thx [12:45] ahasenack: rbasak: saw, and replied. [12:45] there's a headache to consider here though [12:45] to do this we need to do three things at least: [12:45] (1) rename nginx-core (which is the 'upstream-provided modules only' version of nginx-full) to something else, [12:46] (2) each flavor of NGINX needs its own -core package [12:47] which means we go from nginx, nginx-{light,core,extras,full,doc,common} to nginx, nginx-doc, nginx-{light,ubuntu?,extras,full,doc,common}, nginx-core-{light,ubuntu,extras,full} [12:47] of which nginx, nginx-ubuntu, nginx-core-ubuntu, and nginx-common become Main included [12:48] (assuming that nginx-ubuntu is whatever name we rename nginx-core to) [12:48] (3) This makes maintaining this while merging from Debian that much more difficult [12:48] meaning as I said in my reply to the bug we probably have to permanently diverge in a non-mergeable way from Debian [12:49] not to mention the build rules currently don't take kindly to changing, we'd have to do some serious work on the d/rules to probably make this work [12:49] it may be the lack of coffee talking just now, but I'd be hesitant to do this without some heavy-duty discussions first [12:50] so the earliest I think we could roll this out would be *maybe* next cycle if we choose to do this [12:50] the key problem is nginx-{core,light,full,extras} all have different nginx binary applications in them [12:50] because not all NGINX modules are dynamically includeable [12:51] so to replace this so each of those flavors' nginx executables are able to be used independently in a 'core' package variant like MySQL does is a significant overhaul [12:51] and I can't guarantee it'll even be done by next cycle. [12:51] *my* suggestion would be to upstream this to Debian for their thoughts, and depending on what they do decide where we go next [13:06] teward: OK, thank you for your thoughts. [13:20] rbasak: not to say we can't do it, but it'd need thought out, adjusted, and heavily tested [13:20] that's the thoughts I have on it right now [13:20] I also have to get into the habit of version controlling the package (do we have it in git yet?) [13:20] (Launchpad VCS is... tricky to say the least... compared to github or such) [13:22] now, to be fair, I've got an idea of how this can be implemented. It'll just be very tricky to get working properly... [13:23] rbasak: ahasenack: do you want me to proceed with prototyping this so we can see how the existing 18.04 package would have to be altered to work properly? do we have a replacement name for the 'core' flavor that we have for NGINX? [13:36] teward: I suggest you hold on this for now, pending further discussion. Some of my colleagues are sprinting at the moment so it may not be for a week or two. [13:37] (given that Andres filed the bug, I suspect that it's because MAAS would like this facility from the nginx package; there may be other possible solutions) [13:52] rbasak: ACK [13:56] my preseed command is return exit code 1 [13:56] here my command : https://paste.ubuntu.com/p/4YGmgJ82VR/ [14:57] Is it possible to create a network bridge on a physical interface, and at the same time derive MACVLAN interfaces from it? [15:12] l4m8d4: yes - it's quite simple [15:13] l4m8d4: something like this https://wiki.debian.org/BridgeNetworkConnections [15:25] https://serverfault.com/questions/922311/ubuntu-pressed-exit-with-code-1 [15:30] RoyK: Ok, not sure if what I wanted is really what I need. I (will) have 2 containers and 1 vm (possibly more in the future) on the machine, and I have 1 physical NIC (eno1) that I want to devote completely to the containers and vm. Another physical NIC is used to directly connect the host to the network seperately. Would I be able to create 3 virtual NICs, bridge them with the physical eno1, then [15:30] "give" them to the containers and VM? [15:32] And also, would these be able to configure these virtual NICS themselves, assigning addresses, putting up and down, and so on? [15:34] Before, I planned on only containers, there I could just use MACVLAN with systemd-nspawn, which would do just that, without evem requiring a bridge, or any manual config on the host even. With VMs, I guess this approach wont work (it seems netplan can not configure macvlan that can be handed to the VM) [15:48] l4m8d4: kvm? [15:50] Yes [15:51] then just use that bridge [15:51] Ok. Systemd containers support connection to the brdige too, so that should be ok [15:51] in the vm setup, just connect to that bridge - it'l work - I use the same thing on a few servers [15:53] RoyK: Thanks, I'll try to set it up like this then! [15:59] having trouble getting php code to connect to my sql database [15:59] checked ufw and the port 3306 is open [15:59] I can't figure out what else is wrong? [16:04] SomeT: which sql server? [16:06] mysql? postgresql? mariadb? sqlite? mssql? [16:06] mysql [16:08] @RoyK? [16:09] SomeT: are you connecting from the same machine or another? [16:09] SomeT: what kind of "Trouble"? [16:10] its a digitalocean dropley [16:10] surely there's a specific error message to it [16:10] its a digitalocean droplet [16:10] one sec [16:10] give you more details [16:10] wait, you're accessing your db remotely, over the public internet? [16:10] with cleartext password? [16:10] fun [16:10] no [16:10] well kinda [16:10] I am logged into a virtual machine [16:10] https://gitlab.com/tslocum/tinyib [16:10] I am trying to install this on a LEMP stack [16:11] via digital ocean [16:11] I got as far as step as step 7 [16:11] on there read me [16:11] when I go to/imgboard.php [16:11] doesn't matter where you're logged. the question is on which server is the php client and on which server is the db and is the traffic going over the public internet, or infact, any network between two different IP addresses. [16:11] https://gyazo.com/e879dd520f7e58d0eba7ee03c0635715 [16:11] I get that error message [16:11] SomeT: can you telnet into port 3306 in that db server? [16:12] um never tried that [16:12] but I already checked ufw [16:12] SomeT: erm - you're missing a library [16:12] mysql by defautl listens on localhost only, if I'm not mistaken? so... is this supposed to work between two different machiens or is all within localhost? [16:12] https://gyazo.com/dea0f3ef73de514c3a35d607f6e9a2cc [16:12] a library? [16:12] which one? [16:13] mysql client lib for PHP otoh [16:13] the first thing you pastbinned was saying "mysql library missing" [16:13] pretty normal noob issue ;) [16:14] hi guys, do we still need ondrej for PHP packages in 18.04 ? [16:14] wait I need that enabled? [16:14] spaces: probably if you'll want 7.3 in a few months. [16:14] what thing [16:14] https://gyazo.com/e879dd520f7e58d0eba7ee03c0635715 ? [16:14] php-mysql something [16:15] ah I see [16:15] one sec [16:15] http://zchan.net/test.php [16:15] mysql PDO probably (as there's THREE mysql libs for PHP.... two actually I think one was discontinued with 7.x) [16:15] definitely the mysql library? [16:15] if you check that page for me [16:15] blockflaw I wasn't able to install php-curl with the default repo's in 18.04, it failed, dependency and I came from ondrej [16:15] because I find it bit confusing to read [16:16] SomeT: you got them all it seems, ont he _server_. where's the client? on the same machiine? [16:16] spaces: you never "needed" ondrej [16:16] yeah [16:16] spaces: you chose to require something that wasn't in ubuntu, which then made you need ondrej's repo [16:16] I usually just direct connect through pUTTy [16:16] nacc 7.1 and 7.2 had some advanatges where 16.04 didn't had those [16:16] SomeT: so, mysql and php (fpm) are running on the same machine? [16:16] spaces: can you pastebin the exact output of installing php-curl? [16:16] spaces: right, that's a *choice* you make [16:16] yes [16:16] nacc I can see if it's tstill in my terminal [16:17] spaces: ok [16:17] I don't care about the security to much at this stage [16:17] I am still learning ;) [16:17] I will make a not of your security advisement though [16:17] as I get where your coming from [16:17] don't say that. even if you don't care, someone else cares that you don't and will gladly take over your machine and turn it into a 100Mbps UDP gun for hire. [16:17] besides it makes sense because thats how I do it locally [16:17] nacc php-culr is sumlinked as you know: https://pastebin.com/Hd9bET7M [16:17] the amount I delete my servers anyway it dont matter so much [16:18] spaces: you have ondrej enabled. [16:18] spaces: don't use a ppa. [16:18] but anyway back on point, you said the mysql library is installed right? [16:18] SomeT: if you don't install in your brain a security savvy mind and do it the right thing from the start, it'll be harder later to do so. [16:18] nacc it was not enabled anymore [16:18] SomeT: according to that phpinfo, it is. [16:18] nacc earlier you needed appa [16:18] because php -m gives: [16:18] *ppa [16:18] mcrypt [16:18] mysqli [16:18] mysqlnd [16:18] no just mysql [16:18] spaces: yes you do. [16:18] spaces: look at the output. [16:19] spaces: `apt-cache policy php7.2-curl` [16:19] SomeT: that's okay. also, pdo should be listed there [16:19] yeah pdo is on there [16:20] spaces: if i had to guess, you didn't purge the ppa, and still have packages from it. [16:20] I am at a loss === blockflaw is now known as blackflow [16:20] like I even looked through the code to find whats bringing up that error message but could not find it [16:21] ohhh [16:21] actually [16:21] https://gitlab.com/search?utf8=%E2%9C%93&search=MySQL+library+is+not+installed&group_id=&project_id=6824919&search_code=true&repository_ref=master [16:21] didnt think to search using gitlab [16:22] if (!function_exists('mysql_connect')) is my key to solving this [16:22] question is which function? [16:23] SomeT: do you just need to set TINIB_DBMODE to mysqli? [16:23] *TINYIB [16:23] um [16:23] could be [16:23] one sec [16:23] SomeT: that tinyib thing is using mysqli, which you have according to that phpinfo [16:23] not tried that [16:24] blackflow: i believe by default it might use 'mysql' [16:24] how do I even enter mysqli command line in ubuntu though... [16:24] I grep'd the source [16:24] I will try it and see [16:24] I tried to change to pdo already [16:24] oh wait, yes, it can use more than one backend.... [16:24] SomeT: took me about 5 seconds of reading their maing gitlab page [16:25] ok [16:25] Could not select database: Unknown database 'TinyIB' [16:25] I get that when I change to mysqli [16:25] SomeT: that's a better error [16:25] I defined the database in the code [16:25] I thought it would auto create it [16:25] dunno [16:25] but now my issue is I have no idea how to create a database in mysqli [16:25] that seems more like a tinyib problem than an ubuntu one [16:25] only in mysql [16:25] yeah at least you got me that far thanks [16:25] is a better error [16:26] MySQLi is a replacement for the mysql functions, with object-oriented and procedural versions. It has support for prepared statements. [16:26] nacc maybe indeed but installing curl itself fixed it all [16:26] so I think a dep issue in the ppa packages [16:27] old ones or so [16:27] dunno [16:27] spaces: no, it's because you have two repos setup [16:27] and ondrej's versions are after ubuntu's. [16:27] spaces: your issue is using a ppa you don't need [16:28] nacc yes but taht would be no issue as it should get the latest ones but I think it was still looking for 16.04 packages and didn't match where 18.04 were newer [16:28] ok I fixed it [16:28] between ppa en 18.04 [16:28] I just went into mysql and created that database [16:28] thansk for the help [16:28] spaces: i'm otp now, one sec [16:29] nacc I'm at att now (at the toilet) [16:30] more then one sec ;) [16:30] ... [16:32] blackflow what's wrong with it, better let people know where you are, do you know how many people die on the toilet each year ? [16:33] a statistic I'm dying to find out. [16:33] wot? [16:35] you asked if I knew how many people died on the toilet each year, no? [16:36] your rhetoric question was answered with a cynical, nihilistic sarcastic answer. sans smileys for a pokerface response. [16:38] blackflow you say so but it happens a lot because people hold up too long and need to use pressure to get it out, some vane in your head can explode then [16:38] kinda tricky, really when you get older [16:38] * blackflow politely coughs and looks at the offtopic sign hung near the door. [16:39] blackflow better know then find out when it's too late ;) [16:39] nothing wrong on the side for a small talk [16:39] =) [16:50] blackflow now I need to drink so I can pee out later on what I didn't hydrate and sweated out <- tip is drink from time to time :P === tobasco is now known as tobasco_away [17:07] is there a way to get a service status on Ubuntu 16 where it just prints the status and exits? [17:07] (you don't have to press q to quit) [17:08] systemctl status [17:09] RoyK, I appreciate it, but when you do that, you'll see at the bottom: lines 1-14/14 (END) [17:09] you need to press q to get out of that window [17:09] meaning, the systemctl command in that case doesn't return you back to the prompt [17:11] dosaboy: it does [17:11] DammitJim: it does [17:11] it does what? [17:12] DammitJim: it returns - or if not, just "true | systemctl status " [17:12] did you try it for yourself? [17:12] even with true, it still doesn't return you to continue running more commands [17:13] I've never seen systemctl status not return [17:13] try it and pastebin it... maybe I have configured something wrong [17:14] you paste bin it [17:15] https://paste.debian.net/1034115/ [17:15] Again, I appreciate you trying to help, but please don't tell me that it returns when you haven't even tried it yourself [17:16] because as someone who is trying to learn, it makes it even more confusing [17:16] it doesn't stop for a prompt there [17:17] does it return to the prompt for you? [17:17] paste bin it and let me see [17:17] it does [17:18] DammitJim: http://paste.debian.net/1034117/ <-- systemctl status apache2 - nothing else [17:19] yup, yours doesn't return to the prompt either [17:19] you can't run another command after it [17:19] you have to press q or something to get out of that console [17:19] DammitJim: no [17:19] DammitJim: you're quite wrong here [17:23] can you run the date command after that? [17:23] spaces: i'm back now [17:23] hey nacc [17:23] do you know of a command on Ubuntu 16 where you can check the status of a service [17:24] but the command returns you back to the prompt? [17:24] DammitJim: try this: PAGER=cat systemctl status lst-dash89-1 [17:24] DammitJim: do you want to just know if it's running? [17:24] yes [17:24] you know, use shell scripts and stuff [17:25] the old way was running: service status [17:25] systemctl is-active? [17:25] it would return something I can parse [17:25] and --quiet if you don't want any output [17:25] noway! [17:25] parsing is alwways the wrong choice [17:25] thanks man! [17:25] use exit codes/retrun codes [17:25] the textual output of those commands is not an ABI :) [17:26] there is also is-failed, iirc [17:26] yeah, you are right nacc... I was saying parsing because right now that was the only way I knew from looking at the huge output from systemctl status [17:27] sure [17:27] DammitJim: i think the above is what you want, though [17:27] now, is-active is not the same as running, or is it? [17:27] I've seen the status say: active () [17:28] oh yeah, like: active (exited) [17:28] that'd be a oneshot if so [17:28] you can read the systemctl manpage to see [17:28] the closest you can get to 'running' is is-active, afaick [17:28] which just means it hasn't failed [17:28] ok, great! [17:28] if it is long-running, it's still running, if it's oneshot, well, it shot :) [17:44] thanks! that's very helpful === JanC_ is now known as JanC [21:08] So is there a way to get the 4.15 kernel on 16.04 or do I have to go to 18.04? [21:09] trekkie1701c: you should wait for 16.04.5 to come out. [21:09] trekkie1701c: you can use the edge hwe kernel if you want, i think [21:09] hwe only goes to 4.13 [21:10] !info linux-image-generic-hwe-16.04-edge [21:10] linux-image-generic-hwe-16.04-edge (source: linux-meta): Generic Linux kernel image (dummy transitional package). In component main, is optional. Version 4.15.0.23.25 (bionic), package size 1 kB, installed size 14 kB [21:10] !info linux-image-generic-hwe-16.04-edge xenial [21:10] linux-image-generic-hwe-16.04-edge (source: linux-meta-hwe-edge): Generic Linux kernel image. In component main, is optional. Version 4.15.0.24.46 (xenial), package size 2 kB, installed size 10 kB (Only available for i386; amd64; armhf; arm64; ppc64el; s390x) [21:10] trekkie1701c: please do some research, as that is not correct. [21:11] I installed hwe a few minutes ago and I'm on the 4.13 kernel so... [21:12] trekkie1701c: read what i wrote *again*. [21:12] trekkie1701c: the *edge* hwe kernel. [21:12] Alright then, I didn't realize there was a difference. Sorry. [21:22] hm, dpkg-buildpackage is complaining that I have changes that cannot be represented [21:22] so far, a common mistake, [21:22] but it's about .git/* content [21:22] I've never seen that before [21:22] ahasenack: pass -i -I [21:22] iirc [21:22] I never had to do that before [21:23] could something in cosmic have changed? [21:24] ahasenack: dunno, we pass it in git-ubuntu automatically [21:24] ahasenack: it's actually an option to dpkg-source, iirc [21:24] yeah, ignore certain default files/dir [21:25] nothing recent in dpkg's changelog, I must have skipped a step without realizing [22:19] hello is there jshell for ubuntu? or something simular where i user would be logged into their dir, and not aloud to go out side of it, but able torun mono and screen [22:21] you could set the user account to have a specific shell, and create an apparmor profile for that shell.. [22:22] how do you mean? [22:22] something like rbash? [22:22] i knoe with cpanel they have jailshell which will only let them go to /home/user, but will let them run almost anything [22:22] rbash is easy to bypass if you let the user run something like vim or mutt or screen since it's trivial to get to a real shell and then do what you want [22:23] nearly every useful tool lets you execute shell commands.. [22:23] so that's why a stronger tool like apparmor is useful; it can confine the user beyond what a single "restricted" process is able to provide [22:27] with apparmor are the users able to view through ssh other folder other than thier own i,e if i have user1 in /home/user1 would they be able to see anything in /home/user2 [22:30] if you wanted something that'd work on all users with the shell, you could write the rules like: "owner /home/*/** r," to let them read only files they own.. if you've got one user in mind, it could be "owner /home/untrusted/** r," to only let them read the files in their own home directory, IFF they own the file .. [22:33] ok i sort of get that, would they be able to run screen and mono, and be able to write in their directory etc, basically im creating a hosting service for a niche market, and the users need to access their own directory only, i.e read write, but able to execte things like mono and screen, and also editors like nano so they can edit .ini files in their directory [22:34] yeah, all that's possible with apparmor [22:35] would it also be possible to restrict the amount of ram and space a user can use with apparmor? i.e let the programs they use only use2gb ram etc, and only let them have 20gb space? i think quota will work for the space [22:35] you may also wish to investigate lxd; it uses the kernel's namespacing features to let you build a bunch of shared instances.. it's got less overhead than full virtualization, and is easier to admin / configure.. [22:36] lxd would do resource limits easier; apparmor can set the rlimits on processes, but it's harder to work with aggregate limits that way [22:36] i had thought about that but went against it with the stuff needing mono etx [22:37] the ram limits its not a major must atm [22:46] with lxd how would the ip work? as the server will only have 1 ip, and that would need to go over all "containers" [22:46] hmm, I don't know how that'd work :/ [22:47] looks like apprmor then, just need to know how to set it up ptoperly [22:53] Veus_uni: hm. I'm getting a bit dissapointed when tyring to find some good docs on how to use apparmor. the apparmor.d manpage is too detailed -- it's good for reference but poor for learning.. [22:53] yeah im tryimg to read some atm [22:53] Veus_uni: the apparmor wiki is best ignored -- a lot of it is just notes for us for future development work, and it's not obvious which bits are which [22:54] Veus_uni: the suse folks have a nice enough chapter at https://www.suse.com/documentation/sled11/singlehtml/apparmor_quickstart/apparmor_quickstart.html -- but bits of it are specific to suse :) [22:54] yeah, im thinking of getting someone to make a profile for me, then use that as a template [22:54] grrr i need ubuntu though [22:55] Veus_uni: here's a profile that I've used for testing things before http://paste.ubuntu.com/p/T3vm8SB6Pv/ [22:56] Veus_uni: if you cp /bin/bash to /tmp/bash and load this profile (store this file in /etc/apparmor.d/tmp.bash and then load it iwth apparmor_parser --replace /etc/apparmor.d/tmp.bash) [22:57] Veus_uni: .. you can then execute /tmp/bash, see what works, see what doesn't work, watch the kernel logs or audit logs for the DENIED lines to see how it works.. add lines as needed.. [22:57] it's not a bad starting point to learn about apparmor anyway [22:58] brb need to nip down stairs [23:30] will do thanks [23:39] sarnold, dpes appamor work for users?