angel-swe 2017-02-28 22:45:08
B105PH3RE, I don't think I have pidgin installed either
B105PH3RE 2017-02-28 22:45:13
anyone know how to make your system reboot after three failed logins attempts via console, lightdm?
B105PH3RE 2017-02-28 22:45:49
angel-swe: what gui shell are you using gnome, kde, xfce?
ikevin 2017-02-28 22:45:55
B105PH3RE, perhaps fail2ban can do this kind of things
B105PH3RE 2017-02-28 22:46:59
what handles logins, could I do a policy change or something
B105PH3RE 2017-02-28 22:47:39
ikevin: thanx I will look into that but isn't that more network oriented
angel-swe 2017-02-28 22:48:01
B105PH3RE, How do I get this information?
ikevin 2017-02-28 22:48:32
B105PH3RE, it's network oriented, so you can add your own actions
ikevin 2017-02-28 22:49:27
B105PH3RE, like adding "reboot" action instead of iptables one
B105PH3RE 2017-02-28 22:49:38
angel-swe: whats your release version ubuntu or xubuntu?
aarannn 2017-02-28 22:50:07
Hi, I am studying for a test and it says ifconfig can be used to Network interfaces may become active or inactive, The routing table may change, and IP addresses may change. can someone give me an example of changing the routing table using ifconfig ?
ikevin 2017-02-28 22:52:13
aarannn, you can't
angel-swe 2017-02-28 22:52:14
B105PH3RE, ubuntu 16.10
aarannn 2017-02-28 22:52:26
hmm so this test is incorrect?
B105PH3RE 2017-02-28 22:52:27
angel-swe: so your using unity/gnome shell
B105PH3RE 2017-02-28 22:53:19
aarannn: what I think he/she is asking for is is an example of ifconfig and route table change commands
angel-swe 2017-02-28 22:53:39
B105PH3RE, and how to remove that mail icon and phone calls and sms icon from there?
angel-swe 2017-02-28 22:53:44
still possible
angel-swe 2017-02-28 22:53:44
?_
B105PH3RE 2017-02-28 22:53:52
ex: ifconfig 192.168.1.1 | route add -net 0.0.0.0 gw 192.168.1.254
geirha 2017-02-28 22:54:12
s/|/;/
B105PH3RE 2017-02-28 22:54:31
angel-swe: do you have any messagers installed or did you add your gmail to unity or anything that?
yeeve 2017-02-28 22:54:44
hey chat, I'm trying to chown all .git folders using this but it's not working: `sudo -u www-data find -type d -name .git -writable -exec chown -Rf ${USER}.${USER} {} \;` Am i missing something? Is there a way to debug this? If I print or ls the files everything looks fine, it just won't chown them
geirha 2017-02-28 22:54:49
ifconfig is supposedly deprecated though. You're supposed to use ip now a days
aarannn 2017-02-28 22:54:51
heres the question http://www.aiotestking.com/comptia/which-of-the-following-may-occur-as-a-consequence-of-using-the-command-ifconfig/
angel-swe 2017-02-28 22:55:47
B105PH3RE, polari and hexchat
B105PH3RE 2017-02-28 22:56:15
angel-swe: no I mean xmmp messenger likes yahoo messengers not irc
yeeve 2017-02-28 22:56:18
The majority of the .git folders are only 1 level deep so bash globbing using **/.git would work for 90% but I'd like to get the find command working
angel-swe 2017-02-28 22:57:32
B105PH3RE, No I don't
B105PH3RE 2017-02-28 22:57:34
aarannn: A,C,E are all correct
geirha 2017-02-28 22:57:48
yeeve: what's the goal?
aarannn 2017-02-28 22:58:00
how is E correct ?
yeeve 2017-02-28 22:58:13
to have all .git folder which are writeable by www-data to be recursively chown'd to ${USER}.${USER}
yeeve 2017-02-28 22:58:56
most of the .git folders aren't served but some are, I'd like to eventually get a few snippets I run to lock down .git, .htaccess files and remove or lock certain .txt files
InvisibleRasta 2017-02-28 22:58:58
hello guys, i just installed ubuntu and the only way i can get X to work is by appending modprobe.blacklist=nouveau at kernel setting. is there a way to sort this out? i am using a msi gaming laptop
B105PH3RE 2017-02-28 22:59:03
aarannn: if you have example interface eth0 set as 192.168.1.1 and you have a route in your routing table for 192.168.1.1 and you change eth0 to 1.2 you change your routing table
geirha 2017-02-28 22:59:05
yeeve: that's what your current command should do. What happens instead? any error messages?
geirha 2017-02-28 22:59:18
yeeve: Ah wait, only root is allowed to chown
yeeve 2017-02-28 22:59:29
geirha, no errors and the folder and all it's content are still owned as ${USER}.www-data
k1l_ 2017-02-28 22:59:32
InvisibleRasta: did you install the nvidia driver in the system settings?
aarannn 2017-02-28 22:59:40
oooo so it changes as a result of using ifconfig rather than using ifconfig to change it directly
geirha 2017-02-28 22:59:48
yeeve: right, because you told chown to not output errors with the -f
yeeve 2017-02-28 22:59:57
geirha, does that mean it won't work or I need a sudo prefixing the --exec chown?
B105PH3RE 2017-02-28 22:59:57
aarannn: of if you down the eth0 interface your loose the 192.168.1.1 routing related entrys
yeeve 2017-02-28 23:00:02
geirha, oh shit that's just my bad habit xD
B105PH3RE 2017-02-28 23:00:15
aarannn: yes correct on your last
InvisibleRasta 2017-02-28 23:00:19
k1l_, no i did not, do i have to uninstall or set something up?
aarannn 2017-02-28 23:00:21
Ok I got it now thanks
B105PH3RE 2017-02-28 23:00:26
np
k1l_ 2017-02-28 23:00:47
InvisibleRasta: no. go to systemsettings > software & updates and the install the nvidia driver there
B105PH3RE 2017-02-28 23:00:54
angel-swe: you can edit your panel and remove the indicator for messenger if you don't want to see it but be carefull
InvisibleRasta 2017-02-28 23:01:04
k1l_, do i have to keep nouveau blacklisted?
yeeve 2017-02-28 23:01:05
geirha, I think that means I need to log in as root to do most of this then right?
k1l_ 2017-02-28 23:01:22
InvisibleRasta: you should not touch anything with nouveau manually
B105PH3RE 2017-02-28 23:01:38
you would lose email notifications I believe as well angel-swe
yeeve 2017-02-28 23:01:49
if I do -exec sudo chown ... then it prompts for www-data pass which isn't going to work
B105PH3RE 2017-02-28 23:02:07
yeeve: if your doing this through apache you need to use sudo for those commands to work
InvisibleRasta 2017-02-28 23:02:19
k1l_, so after inlstall of nvidia i remove blacklistnouveau?
k1l_ 2017-02-28 23:02:21
InvisibleRasta: after nvidia is installed you should not set the manual kernel settings there
yeeve 2017-02-28 23:03:21
geirha, if I log in as root this works `find -type d -group www-data -name .git -exec chown -R ${USER}.${USER} {} \;`
yeeve 2017-02-28 23:04:18
thanks for your time geirha :thumbs-up: and B105PH3RE thanks for the input :)
B105PH3RE 2017-02-28 23:04:45
np
geirha 2017-02-28 23:11:52
yeeve: could use -user www-data as filter too
geirha 2017-02-28 23:15:10
yeeve: and you probably want chmod g+s on them too
yeeve 2017-02-28 23:17:00
geirha, I always get confused about the extra bits, does g+s mean that any sub dirs/file which are created inherit ownership?
geirha 2017-02-28 23:19:18
yeeve: yes, new files will get the gid of the group (with g+s) instead of the primary group of the user
geirha 2017-02-28 23:19:43
though, doesn't help for the ownership
yeeve 2017-02-28 23:20:18
Ah ok that should be enough though :)
geirha 2017-02-28 23:20:21
but as long as you avoid running git clone/pull as www-data, you should fine
geirha 2017-02-28 23:21:26
yeeve: Also, in case you're unaware, git supports having the working tree and the git-dir separate. The .git dir doesn't have to be inside the work-tree
yeeve 2017-02-28 23:21:29
geirha, that's the plan, I want secure permissions but with enough flexibility to run my tools as my main user
yeeve 2017-02-28 23:22:23
geirha, I wasn't aware so I'll look it up to see if it'll help out with this (if I can move them in a nice, easy and clean way I'm up for that)
geirha 2017-02-28 23:22:50
--git-dir is the keyword to look for
yeeve 2017-02-28 23:23:51
geirha, I think this will work perfectly for me :) http://stackoverflow.com/a/17913726 the gitdir: section seems to be exactly what I need
geirha 2017-02-28 23:25:48
ah, that might be even easier
rizmut 2017-02-28 23:26:41
I have a problem when trying to install a ISO created by PinguyBuilder
rizmut 2017-02-28 23:27:00
anyone here familiar with Ubuntu remastering?
Bamboo 2017-02-28 23:43:08
Hello
B105PH3RE 2017-02-28 23:43:18
hi