Posts

kernel - What is the "Dirty COW" bug, and how can I secure my system against it? - Ask Ubuntu

i've heard of bug "dirty cow" allows user read access files write them , gain administrative access. how protect against bug? the ancient dirty cow bug this bug has been around since kernel version 2.6.22. allows local user read access gain administrative privileges. warning has been issued ( softpedia: linux kernels 4.8.3, 4.7.9 & 4.4.26 lts out patch "dirty cow" security flaw ) , users urged upgrade kernel linux kernel 4.8.3, linux kernel 4.7.9, , linux kernel 4.4.26 lts. this link misleading because these kernel versions not supported ubuntu. this answer tailored ubuntu users , tells you: recommended kernel versions ubuntu users how display current kernel version how apply fix ubuntu supported kernels how apply fix non-supported ubuntu kernels ubuntu users "dirty cow" recommended kernels ubuntu released security updates on october 20, 2016 patch kernel used supported ubuntu versions: softpedia: canonical patches anci...

multiple monitors - No display on laptop screen when using nvidia prime - Ask Ubuntu

i'm running nvidia drivers 367.57 on precision 5510 (quadro m1000m + skylake). it's connected external monitor via displayport through dell d3100 dock. i'm running ubuntu 16.10 kernel 4.8.1. i've got bumblebee installed, , it's working correctly when using intel graphics. when switch nvidia graphics (and of course, bumblebee can't work), external monitor shows output, laptop screen blank. xrandr sees second screen - doesn't list laptop one. the other issue i'm seeing when using intel graphics, bumblebee works, performance worse. e.g. glxspheres running on second monitor without optirun 1/s, optirun 200/s, when switched nvidia graphics, it's 2000/s. furthermore, bumblebee, dragging on second monitor slow, typing in terminal. these issues non-existent when using nvidia graphics only. are these issues common? there known workarounds? update: also, bumblebee, when running glxspheres on internal screen, intel gives around 55-60/s, while optiru...

grub2 - Failure to boot Ubuntu in a dualboot setup - Ask Ubuntu

i have dual boot ubuntu 14.04 lts/windows 10. currently, boots grub rescue . i able execute commands insmod normal @ this site's commands recovering grub rescue> prompt. there experience error: error: file '/grub/x86_64-edi/crypto.mod' how fix this? you need re-install grub. try see if works. https://help.ubuntu.com/community/grub2/installing#reinstalling_grub_2 but me best method using boot repair. practically fix follow instructions. https://help.ubuntu.com/community/boot-repair

14.04 - Permission setting, best practice for website? - Ask Ubuntu

this question has answer here: default permissions /var/www 3 answers what permissions advised set website at? i know 777 bad idea, should be? in principle need read permissions www group , others. unlikely need execution privilege 644 need files

partitioning - About installation off of dvd on to a NTFS partition - Ask Ubuntu

this question has answer here: how use manual partitioning during installation? 6 answers i have 81gb partition on 500gb hard drive want install ubuntu don't know how using "something else" option. please me.. installing ntfs not supported unfortunately, ntfs not support unix/linux file permissions , impossible install ubuntu on ntfs partition. have delete/shrink ntfs partition , create new ext4 or other supported partition(ext4 purposes). since cannot answer original question, can provide next best alternative. alternative solution shrink ntfs partition create new ext4 partition in installer, set it's mount point "/". (optional) create swap partition(like, place ram-dump if ram gets full, put it.) continue installation usual. you'd done. refer link well: how use manual partitioning during installation? an ex...

keyboard - Navigate through past commands in C shell? - Ask Ubuntu

for assignment required use c shell. have csh , going. however, i've noticed when press up , down keys on bash terminal see past commands i've used. on c terminal see (for example) ^[[a when press up key, , ^[[b when press down key. is there way fix csh list previous commands when press , down keys? by way, minor convenience of not having retype entire ./script filename command everytime want test script on text file.

boot - my drive is not detecting ubuntu why? - Ask Ubuntu

i have 1 ssd in laptop. it's installed dual windows 10 , ubuntu 14.04. it's working when turn on laptop it'll have option in grub (hopefully didn't spell wrong) launch ubuntu or windows , instead goes windows os directly. this never happened. somehow before happened, using ubuntu os , left laptop alone while. believe went suspended totally dead, meaning battery totally out. after charge laptop after few hours being dead. when happened, loads windows 10 , never go ubuntu grub , ask. my windows, have software called "diskinternal linux reader" helps me read ubuntu folders / files if needed. tried running , can go folders through linux reader totally fine. i believe somehow grub uninstalled that's why it's not detecting ubuntu os? can give me hand can make normal again when start laptop it'll have grub interface few selections can select start ubuntu or windows. figured other posts, it's because of windows 10 update som...