=== Menzie is now known as Menzador | ||
celio | oi | 00:55 |
---|---|---|
lj | hi | 05:00 |
y0shiness | I need a teeny bit of help. My (fresh) installation of Ubuntu MATE 17.10 is stuck in what seems to be an infinite loop. | 05:41 |
y0shiness | It's stuck in an infinite loop of booting up, that is. | 05:43 |
alkisg | y0shiness: write the error messages or paste a screenshot. Tell more details. How/when did it happen. | 06:25 |
ayhan | hi there | 13:02 |
onio | has anybody experience issue with "System>>Administration/User and Group" feature. no matter what I do I can't seem to get ubuntu mate 16.04 to ask for password on login. I am thinking of have to re-install the Ubuntu which I think is an overkill. | 14:47 |
onio | I made a change to my Ubuntu 16.04 mate to allow auto login as a work around of me being able to use a Logictech wireless keyboard for login | 14:50 |
onio | is my post visible on this channel? | 14:51 |
diogenes_ | onio, what is the dm for mate? | 14:51 |
nemo | onio: check /etc/groups | 14:51 |
onio | ahh | 14:51 |
nemo | onio: I think Ubuntu calls the group nopasswdlogin | 14:52 |
nemo | maybe the MATE dialog is broken due to anticipating some other method? | 14:52 |
onio | I think I am using lightdm | 14:52 |
nemo | I mean, they've used that for like a decade, why would they change it now | 14:53 |
onio | I tried removing myself fro the nopasswdlogin but that did not help | 14:53 |
diogenes_ | onio, then look for: find / -type f 2>/dev/null | grep "lightdm.conf" | 14:53 |
diogenes_ | and there should be the option: ask for password or something like that | 14:54 |
nemo | https://unix.stackexchange.com/questions/159083/how-can-i-disable-lightdm-auto-login-from-the-command-line-when-isnt-possible-t | 14:54 |
onio | I don't have that lightdm.conf file. | 14:54 |
* diogenes_ has to go | 14:54 | |
nemo | onio: you don't have /etc/lightdm/lightdm.conf ? | 14:55 |
onio | I have the following lightdm.conf.d lightdm-gtk-greeter.conf.d | 14:55 |
onio | lightdm-gtk-greeter.conf users.conf | 14:55 |
nemo | ah | 14:55 |
nemo | they reorganised eh | 14:55 |
nemo | users.conf sounds promising... | 14:55 |
onio | nothing in there | 14:56 |
nemo | onio: I gotta say tho, personally my exp w/ gentoo halts w/ 14.04 LTS - from now on I'm going to be on Devuan. But I'm still hanging out here since I haven't gotten everything off 14.04 LTS yet ☺ | 14:56 |
onio | that relates to log in | 14:56 |
onio | 1 [UserList] | 14:56 |
onio | 12 minimum-uid=500 | 14:56 |
onio | 13 hidden-users=nobody nobody4 noaccess | 14:56 |
onio | 14 hidden-shells=/bin/false /usr/sbin/nologin | 14:56 |
nemo | onio: how bout grep autologin in all the files ? | 14:56 |
nemo | https://askubuntu.com/questions/106428/how-to-disable-automatic-login-in-lightdm | 14:57 |
onio | okay I would try that nemo | 14:57 |
nemo | hm. | 14:57 |
nemo | skimming this askubuntu, so far the answers are nopasswdlogin group and the autologin lightdm conf param | 14:57 |
nemo | you sure you are on lightdm? | 14:57 |
nemo | looks like gdm has an autologin config too | 14:58 |
nemo | wonder if lightdm reads gdm for backwards compatibility | 14:58 |
onio | doing a search | 14:58 |
nemo | ooooh /etc/gshadow | 14:58 |
nemo | didn't know group had a shadow! why??? | 14:58 |
nemo | Run sudo grep nopasswd /etc/* | 14:58 |
nemo | This will display at least 2 lines: | 14:58 |
nemo | /etc/group:nopasswdlogin:x:112:`<login name>` | 14:58 |
nemo | /etc/gshadow:nopasswdlogin:!::`<login name>` | 14:58 |
nemo | WTF. that's nutty | 14:58 |
* nemo searches for info on *that* | 14:59 | |
onio | I didn't think this should be as complicated as it is | 14:59 |
* nemo agrees | 14:59 | |
nemo | https://linux.die.net/man/5/gshadow | 14:59 |
onio | search is on : sudo find / -type f -exec grep -H 'autologin' {} \; | 15:00 |
nemo | oh interesting | 15:00 |
nemo | I had no idea one could create groups with passwords. TIL | 15:00 |
nemo | welp. gshadow makes sense then ☺ | 15:00 |
nemo | onio: ok. in that case. did you check gshadow for nopasswdlogin too ☺ | 15:00 |
onio | /etc/gshadow = > nopasswdlogin:!:: | 15:02 |
nemo | oh well | 15:02 |
onio | so I remove this? | 15:03 |
nemo | no | 15:03 |
onio | okay | 15:03 |
nemo | you're not a member of nopasswdlogin in /etc/groups or gshadow so np | 15:03 |
onio | fair enough | 15:03 |
nemo | that find could take a long time to run | 15:04 |
nemo | onio: especially since you're calling -exec - so far less efficient than recursive grep ☺ | 15:04 |
nemo | maybe at least restrict it to /etc | 15:04 |
onio | I thought it was more efficient | 15:04 |
onio | okay | 15:05 |
onio | nothing found in /etc | 15:05 |
nemo | onio: well. every invocation of -exec is a new subshell | 15:05 |
onio | ah | 15:06 |
onio | I would remember that | 15:06 |
nemo | find / -type f -iname "*lightdm*" -exec grep -qi autologin "{}" \; -print 2>/dev/null might be few enough files to not take a ridiculously long time. | 15:08 |
nemo | I wonder about that gdm tho | 15:08 |
nemo | onio: how long ago did you enable autologin? | 15:08 |
onio | I think I am have been on this off/on for the last 3 days. This is the first time I am able get help from an IRC channel | 15:09 |
alkisg | onio: did you find the solution? it's in lightdm.conf | 15:12 |
onio | yes | 15:12 |
onio | I was find a way of showing result | 15:12 |
onio | I can't remember the paste url | 15:12 |
alkisg | paste.ubuntu.com | 15:12 |
nemo | there are tons of pastebins out there | 15:12 |
alkisg | or: command | nc termbin.com 9999 | 15:13 |
nemo | onio: hm. odd. I've been using IRC for support pretty successfully for like a couple of decades | 15:13 |
onio | thanks alkisg | 15:13 |
onio | one second nemo | 15:13 |
alkisg | # grep -r autologin /etc/lightdm/ | 15:13 |
alkisg | /etc/lightdm/lightdm.conf:autologin-guest=false | 15:13 |
alkisg | /etc/lightdm/lightdm.conf:autologin-user=administrator | 15:13 |
alkisg | /etc/lightdm/lightdm.conf:autologin-user-timeout=0 | 15:13 |
alkisg | Those are the lines where autologin is set | 15:14 |
onio | /var/lib/dpkg/info/lightdm.conffiles | 15:14 |
onio | /var/lib/dpkg/info/lightdm.list | 15:14 |
onio | /var/lib/dpkg/info/liblightdm-gobject-1-0:amd64.symbols | 15:14 |
onio | /usr/sbin/lightdm-gtk-greeter | 15:14 |
onio | /usr/sbin/lightdm | 15:14 |
onio | /usr/lib/x86_64-linux-gnu/liblightdm-gobject-1.so.0.0.0 | 15:14 |
onio | /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf | 15:14 |
alkisg | So you can just remove that file in order to disable autologin | 15:14 |
nemo | alkisg: that sounds a little aggressive ☺ | 15:21 |
alkisg | nemo: nah, that's the purpose of that file, it doesn't exist if you don't select autologin | 15:21 |
alkisg | So ubiquity creates it just for that | 15:22 |
nemo | lightdm.conf? O_o | 15:22 |
nemo | surely it configures other things too | 15:22 |
alkisg | Nope | 15:22 |
alkisg | There's a lightdm.d directory for that | 15:22 |
nemo | alkisg: well anyway. he didn't have it | 15:22 |
alkisg | Although the main configuration is in /usr, not in etc | 15:22 |
nemo | nor did he have the nopasswdlogin group | 15:22 |
alkisg | Really? That's how ubuntu setup does it | 15:22 |
nemo | alkisg: yeah. thought that was odd. that's why I asked him if he was sure he was using lightdm | 15:23 |
alkisg | nopasswdlogin group isn't used | 15:23 |
nemo | alkisg: eh. could be configured to be used. | 15:23 |
nemo | ubuntu used to use it | 15:23 |
nemo | still get people reporting they have it set | 15:23 |
alkisg | I mean, in the current 16.04.3 lts version | 15:24 |
nemo | we lost onio anyway. apparently he ignored pastebin suggestions | 15:24 |
nemo | https://wiki.archlinux.org/index.php/LightDM#Enabling_autologin arch uses it still, it seems | 15:25 |
onio | Hi nemo are you still in the room. Sorry I was banned from the chat room because of the paste I did :) | 16:56 |
alkisg | onio: what's the output of this command? grep -ri autologin /etc/lightdm* | nc termbin.com 9999 | 16:57 |
alkisg | (copy paste the command, then copy/paste the output here) | 16:57 |
onio | alkisg: I found a filename "60-lightdm-gtk-greeters.conf" that had autolog=myusername | 16:59 |
onio | I removed that and now I get the login prompt | 16:59 |
alkisg | Cool | 16:59 |
onio | I didn't realise that people get banned from these IRC channels | 17:00 |
alkisg | Only for flooding, because they think you're a bot | 17:00 |
onio | I pasted the result of my "find" command and suddenly I was automatically logged out | 17:00 |
alkisg | It's an automatic check | 17:00 |
onio | I have infrequently used these channel so I was quite surprised. Learning every day | 17:01 |
onio | I am glad that it is sorted because I was going to re-install ubuntu as it was taking too long | 17:02 |
nemo | onio: it's funny because you'd asked about pastebins | 17:03 |
nemo | alkisg gave 2 options ☺ | 17:03 |
onio | was it the use of the word that got me banned or because I did a paste that had multiple lines? | 17:04 |
alkisg | pasting more than 3-4 lines | 17:04 |
alkisg | that gets you banned for a while | 17:04 |
onio | ah | 17:04 |
onio | thanks its good to know for future reference | 17:05 |
onio | The last time I was on one these channel I can't remember which one. But I recall someone saying that use pastebin is frown upon in the irc channels so I kind of avoided them. Is this correct or did the person wrongly advised me | 17:07 |
nemo | O_o | 17:07 |
nemo | no. pastebins are strongly encouraged | 17:07 |
nemo | unless the text is short of course | 17:07 |
onio | fair enough | 17:07 |
nemo | /msg is frowned on - some people like to /msg others privately and that defeats purpose of support channel | 17:07 |
ayhan | hey does anyone use airvpn ? | 17:08 |
onio | okay copied that | 17:08 |
nemo | ayhan: can't be bothered personally. sshuttle is enough for my simple needs | 17:08 |
ayhan | any idea how to prevent dns leaks? | 17:08 |
ayhan | what is sshuttle? | 17:09 |
ayhan | aaaaahh a vpn over ssh | 17:10 |
ayhan | i see | 17:10 |
nemo | yep. convenient, simple | 17:10 |
nemo | pretty good performance | 17:10 |
ayhan | safe? | 17:11 |
nemo | ayhan: safe in terms of... | 17:11 |
ayhan | torrenting | 17:12 |
nemo | oh. dunno | 17:12 |
nemo | don't use it for that | 17:12 |
nemo | I imagine one could route everything through it, why not | 17:12 |
nemo | ayhan: it's just a simple overlay of linux firewall rules | 17:12 |
nemo | and it supports DNS lookups | 17:13 |
ayhan | i will try it out. But i would like to use my vpn..... | 17:13 |
nemo | up to you | 17:13 |
micka_ | Hi ,- | 22:17 |
micka_ | there is someone here? ^^ | 22:20 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!