• Breaking News

    [Android][timeline][#f39c12]

    Sunday, April 15, 2018

    Linux An Introduction to Linux File Permissions - Boolean World

    Linux An Introduction to Linux File Permissions - Boolean World


    An Introduction to Linux File Permissions - Boolean World

    Posted: 15 Apr 2018 07:55 AM PDT

    What are some Linux capabilities (or useful free software), suitable for noobs, that you don't have in Windows?

    Posted: 14 Apr 2018 08:43 PM PDT

    I know Linux offers various forms of functionality that you simply can't get on Windows, and exploring this seems like a good way of getting enthusiastic about Linux. I don't work in IT or the security industry, so forensics or hacking tools (two of the bigger draws from what I know) aren't likely to interest me deeply...but I'm reasonably technologically literate, and I am a computer science student, so while I'm not a power user, I'm not a complete lightweight either. Anything at all interesting or useful goes, though; don't feel limited by what I've said.

    If your suggestion requires a specific distro, I'm quite willing to go to the trouble.

    submitted by /u/kovlin
    [link] [comments]

    Pinguy Builder For *buntu 17.04/17.10/18.04

    Posted: 15 Apr 2018 11:01 AM PDT

    The script can create a livecd of the installed system and works with *buntu systems.

    You can either make a distributable livecd or a backup of your system.

    Notable Changes:

    • Single package for Script and GUI.
    • Full EFI support including EFI partition on ISO.
    • Populate pool folder with grub-efi for offline installing.
    • Update grub entry with the named used for the CD label.
    • Uses XZ to compress the filesystem.squashfs for smaller ISO size.

    Info: https://pinguyos.com/2018/04/pinguy-builder-for-buntu-17-04-17-10-18-04-using-ubiquity/

    Everything is working as it should. No bugs found as of yet.

    All I had to do to get it working was to exclude the Swap File due to the change from Swap Partition to Swap File.

    submitted by /u/PinGUY
    [link] [comments]

    Can't access "storage" folder

    Posted: 15 Apr 2018 01:57 PM PDT

    I'm on Linux Mint Cinnamon and I set up a separate partition for a HDD drive specifically for storage. Everything else is on a SDD. It won't let me creat any folders or paste documents in there or anything. It states the volume is unknown, that's probably related to the problem somehow I'm sure.

    I went into gparted to see if everything is set up correctly so far. All things considered, this is what I can tell you:

    Location is "/" Partition is "/dev/sdb1" File System is ext4 mount point is "/storage" owner of permissions is "root" access of everything under "root" would indicate that I would be able to do what I wanted stated above I haven't enabled "Share" under properties, would that do the trick? I;m not sure if that is the golden ticket or not to my issue.

    Thanks in advance!

    submitted by /u/Nocturn_Adrift
    [link] [comments]

    iptables: DNAT for containers. local packets do not reach container

    Posted: 15 Apr 2018 01:28 PM PDT

    Hello.

    I have a LXD host with a nginx container. The container uses a private address (10.0.0.27).

    When a packet reaches the host on its public IPv4 adress 1.2.3.4 it is forwarded to the container on port 80. And there is a subdomain for the hosts ip: sub.example.net1.2.3.4.

    BTW: (1.2.3.4 is a bridge interface if that is relevant.)

    The rule:

     iptables -A PREROUTING -t nat -d 1.2.3.4/32 -p tcp -m tcp --dport 443 -j DNAT --to-destination 10.0.0.27:443 

    When i curl from outside for sub.example.net i get the page served by the webserver in the container. But when i try to curl from the host or from another container (e.g. at 10.0.0.45) i get the error "reconnection refused". This is because there is no program listening on the hosts port 80.

    But why isn't the packets that originate from the host not redirected to the container with the rule above?

    What rule would allow me to to forward the packets originating from the hosts to the container?

    submitted by /u/valgrid
    [link] [comments]

    How do I manually configure my default DNS settings?

    Posted: 15 Apr 2018 12:19 PM PDT

    Cloudflare has launched their privacy focused DNS on 1.1.1.1 so I thought I'd give that a shot and set my machines up to use it. Any small step I can make to improve privacy. But for the life of me, I can't figure out how to do that on Linux Mint. All the instructions appear to be for everything non-debian based.

    submitted by /u/StoneStalwart
    [link] [comments]

    Scripts in ~/bin won't execute

    Posted: 15 Apr 2018 08:15 AM PDT

    Debian: sid Kernel: 4.15.0-2

    --------------------------------.

    I'm trying to execute scripts from anywhere, so I put a script called listall in the folder "~/bin" and wrote (from a youtube tutorial) this

    PATH=:~/bin:$PATH listall 

    in the "~/.profile" file.But it won't execute from another directory(I don't fully understand variables yet).

    edit:SOLVED: as i use zsh i added export PATH=/home/johndoe/bin:$PATH to the .zshrc file like PlanetSides said then i moved the listall from .profile to .zprofile like alfunx said. Thanks for the support people.

    submitted by /u/whoami1331
    [link] [comments]

    Distro with graphical install that can manage existing encripted lvm partitions ?

    Posted: 15 Apr 2018 11:00 AM PDT

    I have encrypeted disk: sda1 is /boot 500mb non encrypted. sda2 is luks lvm2 which have /, /home and one /storage. So far ive tried opensuse, ubuntu, fedora, solus. Even if they allow me to install on my encrypted partitions after that i cant boot. I need to manually edit grub. So is there distro that can manage that automatically without the need to format my disk?

    submitted by /u/Crypto_Illuminati
    [link] [comments]

    getting "bin/bash: tag: command not found" when trying to run make on crosstool-ng

    Posted: 15 Apr 2018 10:58 AM PDT

    Apparently there is a tag command that i am missing in my linux distro and I have no idea what to do about it because I cannot find it anywhere. Running Ubuntu. Fairly new to linux and dont know how to fix it unless google can tell me.

    submitted by /u/rahulsanjay18
    [link] [comments]

    2 quick questions of fresh Linux user

    Posted: 15 Apr 2018 10:50 AM PDT

    • Is this possible in MINT to keep the "strong" administrator password, but use short PIN for login - similar to Win10?
    • How to force the laptop to automatically shut down after some period of time when the lid is closed? By default, system is put to sleep, but it's still "active" and probably draining battery. For example, I want the laptop to be sleeping for ~60 minutes, but then if the lid is still closed, I want the laptop to shut off completely.
    submitted by /u/raven6679
    [link] [comments]

    PC crashed during installation of Python 3.6.5

    Posted: 15 Apr 2018 10:42 AM PDT

    I tried to install Python 3.6.5 following this guide https://solarianprogrammer.com/2017/06/30/building-python-ubuntu-wsl-debian/, but my PC crashed when command make -j 8 were in progress. Now I want to completely remove all files that were created during installation. What is the best way to do this?

    submitted by /u/FuckDHT
    [link] [comments]

    @Mostly_Linux on #Mostly_Gaming is a terrific podcast for Linux Noobs ;_)

    Posted: 15 Apr 2018 09:49 AM PDT

    [Talk, Tech, Videogames] @Mostly_Linux on #Mostly_Gaming

    SFW

    We update the show format on this third beta as we continue to tinker with these pre-launch episodes. This week William Alexander, a Windows user, joins Adam Edward as they discuss the world of Mostly Linux and Mostly Gaming. ** Our next giveaway is announced at the 9 minute mark** along with details on how to register. We discuss Xbox One Originals, The Death of Steam Spy, How we deal with having too many games to play plus our topic of the week: Linux Playable Game of the Year Watch.

    Episode Link

    RSS Link

    www.twitch.tv/MostlyLinux

    submitted by /u/adamacuo
    [link] [comments]

    what skills do I need to install unsafe updates?

    Posted: 15 Apr 2018 08:57 AM PDT

    Hi everyone [= TL;DR: what knowledge and skills should a person have to install unsafe and untested updated?

    I started using Linux Mint a few years ago. I switch between it and Windows often, and sometimes I go for months without using Linux. So anyway, the Linux updates are classified according to how safe they are and if they've been tested. I don't install the unsafe ones, and I used to think I should wait until they were tested and safe. I now realize that they'll always show as unsafe and untested because they (the testers) can't predict how a kernel update will affect a particular system. So I was wondering what I have to learn in order to judge for myself I should install an update or not, or how to solve my way out of a bad update decision.

    http://i.imgur.com/IM92dlh.png

    submitted by /u/bad-and-ugly
    [link] [comments]

    Dolphin config file locations

    Posted: 15 Apr 2018 08:10 AM PDT

    Hey everyone!

    I'm trying to make a script to change some of the default configs in openSUSE Leap really quickly after installation. So far I've found everything I needed, except for the Dolphin config files. There is a file in ~/.config called 'dolphinrc', but this doesn't store the stuff you change in the 'Places' panel. Where could this information be stored?

    submitted by /u/TheAwesomeRedditor
    [link] [comments]

    Bit of advice/hrlp

    Posted: 15 Apr 2018 08:08 AM PDT

    I'm new to Linux and aiming for Arch Linux

    I'm aiming to start my install next week (Wed) but no rush if I need to do more research (I'm about getting it right)

    My system is

    i72600k @ 3.4ghz 120GB SSD 8GB RAM (1333mhz) Nvidia GTX560ti

    Running W7 Ultimate

    I've bought a 2TB internal drive Seagate 7200RPM for extra storage and already have a 2TB external drive currently in use (media)

    I'm reading and watching (YouTube) as much as possible (big learning curve but I'm looking forward to it)

    Few questions re partitioning, LVM, file formats possible options

    I'm unsure re using the SSD for / and / boot with / home on the 2TB drive along with swap ( I've read conflicting points on swap) re partitions and swap files and had conflicting ideas on my choice

    I convert a lot of media files and store a large amount of videos/music etc

    I'm wanting fast performance but not all my data on the SSD hence why I'm thinking off the home on the HDD

    I've been looking at symlinks/bind mounts I've got a good computer knowledge and can follow instructions

    Do I need swap with 8GB of RAM??

    Should I split the 2TB into more partitions (home then extra for storage) or should I just put everything on SSD (except swap) should I use LVM

    Other question is re file format ext4 or btrfs trying to differentiate between them I'm leaning towards ext4 any arguments for btrfs over ext4

    The Arch Wiki is very very very good I'm only 10% into it - just trying to learn as much as possible and certain parts are choices just want to make the right choice

    TIA

    submitted by /u/seguhi87
    [link] [comments]

    Getting in over my head

    Posted: 15 Apr 2018 08:04 AM PDT

    I am extremely new to anything outside of windows. I have set up a few simple projects with raspberrypi and been successfull. I installed mint on an old desk top that was running Vista and it worked out great. The issue I am now having is getting a Wi-Fi dongle to work with it. I have found some articles on how to set it up but I am completely lost. So before I go any further I want to take a step back and learn more about what I did and can do. I am looking for suggestions on where to start with using a terminal. I can follow directions fine but reading posts that are written with you having some knowledge about what is happening is a struggle. Any suggestions on where to start? Thank you for taking the time to teach me something.

    submitted by /u/cardinalgolf
    [link] [comments]

    Can't create a bootable Win10 USB with WoeUSB (WinUSB)

    Posted: 15 Apr 2018 08:02 AM PDT

    I formated the USB Stick and I get this Error:

    https://imgur.com/zS2SKKG

    I don't know if it may has to do something with dev/loop0. No idea what that is. I tried NTFS and FAT formatting. Can anyone help me here or should I just reinstall Ubuntu?

    submitted by /u/aemmeroli
    [link] [comments]

    Needing help and suggestions

    Posted: 15 Apr 2018 04:05 AM PDT

    Note: this is a repost (I posted to /r/linux first, oops), to get moar help and suggestions from more relevant subs

    I'm a total noob with Linux, and I'm not sure if this is the correct sub to be posting to for help, but here we go.

    Background: been using a mac laptop for the past 6 or so years (but also have experience with windows). Recently my mac's been slowing down to the point I can't really use it effectively and efficiently anymore. Started looking for a new computer, but realised macs have gone to total overpriced junk (lack of ports was a big factor) and decided to get a windows laptop.

    I've already ordered my new windows 10 laptop but recently I found out about microsoft's shady privacy policy. Personally I don't really like spyware (especially inbuilt spyware, lol).

    I've been considering using linux for quite some time and I this whole situation has really made me serious about it, in fact I intent to be using it as my primary os (will be using windows only for a few apps not available on linux). However I'm pretty clueless about linux. I have practically no programming experience however, which might be a problem I guess? I'm willing to learn tho.

    I've heard a lot about ubuntu and at first glance it seems like a relatively easy shift from osx. Is 17.10 good to start with? I've heard it's cpu hungry tho... is an i5 7300u good enough? Should I wait for it to go through a few more updates?

    However first I should probably get these more basic questions clear: what's a distro exactly? What are flavours? What's the difference between distros and flavours? How easy is it to switch between different distros/flavours to find the perfect one?

    How does Libreoffice compare to pages/keynote/numbers or ms office? Can I easily convert to/open iwork/ms office documents? How compatible are (canon) printers with linux?

    Do I need AVs at all? Do I need to avoid things like adobe flash completely or are trustable sites which use it still safe?

    I got a 128gb ssd along with my laptop which came with a 500gb hd. I intend on using the hd just for storage and the ssd to be partitioned between windows and linux. Since linux will be my main OS, how much do you suggest to partition to each os? Could 70/30 or 60/40 work well? Also, will I be able to access the hd storage regardless of what os I have logged into or does the hd need to be partitioned too? This is probably stupid but does the ram have to be partitioned too? I've never paritioned a hd or ssd before.

    Sorry for throwing so many questions at you guys, feel free to choose and answer the ones you feel more important. Thanks

    submitted by /u/Musiciant
    [link] [comments]

    Accessing a OneDrive folder on the windows partition / unsupported reparse point

    Posted: 15 Apr 2018 07:48 AM PDT

    Hello there,

    i'm completely new to Linux. I set up a dual boot configuration with Windows 10 and Ubuntu on a single SSD, because i need to work with both.

    I'm trying to access my OneDrive folder (which is synced for offline use) from Ubuntu, but i can't do that and get the error "unsupported reparse point".

    Can anyone help me to fix this? Do you need to know more about my setup?

    submitted by /u/fatSquirrel42
    [link] [comments]

    Problem with activating PiCam

    Posted: 15 Apr 2018 07:44 AM PDT

    I have been working on a project with color detection on a raspberry pi with python 3.5 and OpenCV. When i tried to test the camera i ran this code:

     import cv2 import numpy as np cap = cv2.VideoCapture(1) while True: ret, frame = cap.read() cv2.imshow('frame', frame) if cv2.waitKey(1) & 0xFF == ord('q'): break cap.release() cv2.destroyAllWindows() 

    But the output was just this error:

     OpenCV Error: Assertion failed (size.width>0 && size.height>0) in imshow, file /home/pi/opencv-3.3.0/modules/highgui/src/window.cpp, line 325 Traceback (most recent call last): File "SimpleCamTest2.py", line 8, in <module> cv2.imshow('frame', frame) cv2.error: /home/pi/opencv-3.3.0/modules/highgui/src/window.cpp:325: error: (-215) size.width>0 && size.height>0 in function imshow 
    submitted by /u/Croxion12
    [link] [comments]

    I want a stable platform that works without maintance..

    Posted: 15 Apr 2018 07:14 AM PDT

    Im so sick an tired of running win 7 on my x220 and since a Mac is too costly atm. I thought about Linux.

    Im using my laptop for gmail, evernote, research online (papers mostly, that i tend to download in PDF) and occationally social media.

    What I really want to have is something like Mac OS, that is stable and works. I really hate when there is compatabillity problems, update issues, stuff you have to spend time on troubleshooting - or even worse, something you have to code ore what ever time consuming nonsens. Sorry for negativety, but sure you can imagen the frustration when you have to get work done and the equipment is bad..

    submitted by /u/Stockmouse
    [link] [comments]

    Best Linux distribution for a newcomer

    Posted: 15 Apr 2018 06:47 AM PDT

    I'm a student who switched to Linux one month and a half. I tried a lot of Linux distributions through LiveUSB and VMs, but I couldn't decide which one works the best for me, so I need your help.

    I have a desktop PC with the following specs: Intel i3-7100, 8 GB of RAM, NVIDIA GTX 1050 Ti and 8 GB of RAM. It doesn't have an WiFi card or wireless peripherals.

    I use my machine for everything. I'm not a gamer. I just want to get my work done, in time. I don't have any preference. I don't have any favourite DE or distro. I come from Windows, but that doesn't mean I prefer Windows' design. I can get used to anything, as long as I'm productive.

    If you need additional info, tell me! Thanks!

    submitted by /u/andyclnx
    [link] [comments]

    Reverse proxy apache2

    Posted: 15 Apr 2018 02:07 AM PDT

    Hi,

    I have a website subfolder named "blast" and would want it to be accessible through "www.myurl.com/oink"

    I added the following to my 000-default.conf at /etc/apache2/sites-available/

    ProxyPass "/oink" "http://localhost/blast/" ProxyPassReverse "/oink" "http://localhost/blast/"

    And I see some content but not all. What am I doing wrong here?

    submitted by /u/Dan0rt
    [link] [comments]

    Mounting CIFS shares vers=3.11

    Posted: 15 Apr 2018 01:14 AM PDT

    I'm trying to mount a CIFS share to my computer, but it doesn't seem to work. This is the entry that I used in my fstab file:

     

    //Server/Files /media/bob/Files cifs vers=3.11,uid=1000,gid=1000,credentials=/home/bob/.smbcredentials 0 0

     

    However, every time I try to mount it, I receive this error message:

     

    mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

     

    I'm pretty sure that the username and password in my .smbcredentials file are correct, because mounting the CIFS share works fine when I change vers=3.11 to vers=3 or vers=2 in my fstab entry. I only get the mount error(13): Permission denied message when I try to mount using CIFS vers=3.11

     

    I did some research and someone suggested adding the sec= option to my fstab entry, so I added it and tried every security mode (krb5, krb5i, ntlm, ntlmi, ntlmv2, ntlmv2i, ntlmssp, ntlmsspi), but I still kept getting the same error message.

     

    Is there a reason why using cifs vers=3.11 keeps giving me this error? Is there some extra option that I should use?

    submitted by /u/MediocreDirection9
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel