/srv/irclogs.ubuntu.com/2018/07/18/#ubuntu-server.txt

sarnoldVeus_uni: what do you mean?00:09
sarnoldVeus_uni: users currently can't load their own policy, but we aim to address that some day00:10
Veus_uniits seems to only restrict apps, im needing to restrict users00:10
sarnoldVeus_uni: aha00:10
sarnoldVeus_uni: so .. if you restrict the processes that a user interacts with to enter the system, that achieves much the same goal00:10
Veus_uniit would be good someday but for my use not now, but im looking the is jailshell which can be installed on ubuntu which seems good, as i would need to do something like that, but would it run screen and also mono00:11
sarnoldVeus_uni: so, if you let users log in via ssh, then you make sure that the shell sshd starts for the user is confined (and make sure the built-in sftp server either doesn't let them in, or confine sshd..)00:11
sarnoldVeus_uni: if you let the user write their own mono or provide their own shell configuration file then those kinds of restricted shells are toys :(00:12
Veus_uniyeah, basically, im wonting to provide shared region hosting for oepnsimulator, and thought of the idea from cpanel of jailshell, but its finding a way to make it work, i know cpanel uses it. but would it work on ubuntu and would it run mono and screen, as both is needed, the only other option would be to buy a bigger server and run vpn, but that would be too much to be honest,00:14
=== amurray` is now known as amurray
cpaelzergood morning05:10
lordievaderGood morning06:22
=== tobasco_away is now known as tobasco
Ussat\o/ my private test lab is fineally done10:32
RoyKUssat: congrats - what're you going to test there?11:32
UssatNothing in particular, I have my test lab at work, this is in VM's on my laptop, for more spur of the moment tests etc11:36
Ussatkinda like "hey, lets see if this works" kinda things11:36
Ussatit mimics my test lab at work11:37
Ussatif that makes sence11:37
npgmhi so I'm having difficulty getting a usb ethernet adapter to work with 16.0415:51
compdocnpgm, does it show 'unclaimed' when you list with lspci?16:03
compdocor maybe lsusb16:03
npgmcompdoc: actually realized my issue. I had a really malformed interfaces file. Things seem to be working fine.16:04
compdoc:)16:04
Veus_unisarnold, you about?>16:05
sarnoldhey Velus :)17:48
l4m8d4Is it possible to install virtinst without all the desktop package dependencies? I wanted to install it on a server without a video card and it wanted to pull in all type of desktop stuff, which I obviously don't want18:24
sarnoldl4m8d4: consider uvtool instead18:26
l4m8d4sarnold: So this acts as an image fetcher + vm manager?18:30
sarnoldl4m8d4: yeah18:35
l4m8d4Is it possible to customize things like networking with uvtool? Is it compatible with machinectl?18:36
sarnoldconfiguring networking seems likely, no idea on machinectl18:42
hashwagonCan anyone recommend me a channel to answer a CPU question I have? I'm wondering if the Intel Xeon E3-1220 (BX80662E31220V5) has a integrated graphics.20:09
Velushashwagon, it dont have intergrated graphic20:10
blackflowhashwagon: https://ark.intel.com/products/52269/Intel-Xeon-Processor-E3-1220-8M-Cache-3_10-GHz20:10
blackflowark.intel.com is the best place to query info about CPUs20:11
blackflow*about Intel CPUs20:11
Velusthats what i checked blackflow and it dont have intergrated graphics20:12
hashwagonThanks, guys. That's a good website - I'll book mark it. Any suggested alternatives to this CPU that have IG?20:12
Velushttps://ark.intel.com/Search/FeatureFilter?productType=processors&QuickSyncVideo=true20:13
Velusthat will help you20:13
hashwagonExcellent - thanks20:14
blackflowWhy quicksyncvideo? The search form can do Integrated Graphics  Yes/No20:16
blackflowhashwagon: https://ark.intel.com/Search/FeatureFilter?productType=processors&FamilyText=Intel%C2%AE%20Xeon%C2%AE%20Processors&IntegratedGraphics=true20:16
blackflowassuming you want a Xeon and not a desktop-y CPU20:17
l4m8d4hashwagon: A lot of motherboards for xeon CPUs have an on-board graphics chip too, so in most cases the integrated xeon graphics is not needed20:30
=== devil is now known as Guest74443
=== Guest74443 is now known as devil_
Velussarnold, do you know of any way i can jailshell someone i did look at jail-shell but it lets people look around in ssh at other peoples files which i dont want to happen, i want them to be able to use other stiff like mono and screen and be able to work in thir dirctory but not others21:03
blackflowVelus: ssh or sftp chroots21:11
blackflow(that was about ssh, wasn't it?)21:11
Velusyes21:12
Velusssh21:12
Velusand i tried this thing from github called jail-shell21:12
Velusbrb break time21:13
blackflowVelus: if it's over ssh, you don't need any additional software, you can chroot users.   Check out ChrootDirectory in sshd_config manpage. Note in particular the need to bring in the shell and any /dev/... stuff into the chroot, as needed.21:17
blackflowwhich is not needed for sftp, so what exactly do you need there? sftp or full ssh access?21:17
sarnoldVelus: I strongly recommend skipping anything marked "jail shell" kind of tools. blackflow's suggestion of ssh'd chroot support is pretty good if you only care about ssh and want to maintain different environments for the users entirely21:34
naccand i definitely wouldn't use it from github21:35
blackflowyeah, if exclusive to ssh "containment".21:36
Velusits only over ssh its a server held in a data center, basically wanting to do shared hosting for opensim which is a virtual world so you need ssh access to set it up21:44
Velusblackflow, lets say i have user john and user shaun on my server can user shaun kill a process that user john is useing22:12
sarnoldno, standard unix discretionary access controls will prevent that22:12
Veluswould they be able to see the porocess that they are using?22:13
sarnoldyes22:13
sarnoldthere's a proc tunable ..22:13
Velusok22:13
sarnoldlook through procfs(5) for the hidepid variable22:13
naccwhy not just put them in private containers?22:18
naccthis seems like a lot of overhead just for isolation22:18
sarnoldnacc: I think Velus only has one IP address to work with so can't just pop everybody into their own lxd22:19
naccsarnold: ah, I'm sure you can do some trickery there, but I can see how that would be a limitation22:19
sarnold(that'd probabl also be unfortunate if you had to have N copies of mono runtime / program loaded rather than just re-using the one copy..)22:19
naccyeah22:19
sarnoldcn you do hardlink tricks to have just the one copy in memory?22:20
naccin theory, you could share it from the host22:20
naccto each lxd, i think22:20
sarnold.. well, that'd probably bust the moment once one of the users wants to upgrade or similar22:20
naccyeah22:20
nacci'd assume this is meant to be a rather restricted environment; maybe upgrades are not supported.22:20
RoyKhidepid works well22:33
sarnoldhey RoyK :)22:33
RoyKhi22:34
RoyKsarnold: all well?22:35
sarnoldRoyK: yeah, pretty good :) I'm feeling ever so slightly overwhelmed with all there is to do, but such is life I guess :)22:36
sarnoldRoyK: how're you doing? :)22:36
RoyKsarnold: good, thanks - just got myself a cr-10s - summer fun :)22:40
sarnoldRoyK: oh sweeet :D22:40
RoyKsarnold: printing out a wee lampshade now - had one in glass that hit the floor…23:05
sarnoldRoyK: heh, bummer about the old one.. but hooray :D23:06
RoyKsarnold: openscad is neat23:06
RoyKblender too, but a wee bit steeper learning curve23:07
rbasakl4m8d4: uvtool is a front end to libvirt, cloud-init and image fetching. You can customise networking as much as libvirt can customise networking, which is the same level as virtinst I think (which also uses libvirt as the backend).23:20
blackflowsarnold: btw, with single IP you can have sshd's in containers on different ports.23:51
sarnoldblackflow: mm interesting idea, do you know if that works with lxd?23:51
blackflowbut containers are really not needed and create a whole lot of different logistic issues23:51
blackflowsarnold: not from personal experience, but I don't see why not. I do have such a setup on FreeBSD though. An alternative is bridged networking, internal IP per container, and some iptables magick for port forwarding.23:53
blackflowthat one I knwo from personal experince it works (though it was LXC, not LXD)23:53
sarnoldblackflow: aha, then I'd expect something similar to work with lxd, but might exceed the cost/benefit ratio ;)23:53
blackflowit's defo an overkill, since you basically have to manage whole ostree sans kernel, per user.23:54

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!