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