**** BEGIN LOGGING AT Thu May 02 02:59:57 2019 May 02 03:00:04 Ok I'll try now. May 02 03:00:28 sudo su should obviously work as well, it's just pointlessly wasteful May 02 03:00:39 So what would be the password? May 02 03:00:56 what does the password prompt of sudo say? May 02 03:01:58 Its the usual sudo administartor prompt with 3 points and asks for sudo password for debian May 02 03:02:13 there you go, it asks for the password of the debian account May 02 03:02:33 (i.e. the same one you used to log in) May 02 03:02:56 Omg!!! You are right! May 02 03:03:15 I have been thinking its a different password for root' May 02 03:03:29 Thank you! May 02 03:03:46 the root account does have a different password (I forgot what the default is actually), but it's not what sudo asked for May 02 03:04:43 correct. so how to actually login to root account? May 02 03:05:06 normally you don't, since there's rarely a good reason to May 02 03:05:30 Ah I see. May 02 03:05:34 for security reasons, ssh by default doesn't allow root logins using password authentication, only using public-key authentication May 02 03:06:19 Oh okay. I do remember reading that somewhere while debugging. May 02 03:06:40 for most uses it's recommended you use the debian account, which has extensive rights on the system which should suffice for normal day to day use May 02 03:07:00 for the rare command that needs root privileges (e.g. apt-get) you can just prefix the command with sudo May 02 03:07:41 Ok, got it. Thank you. May 02 03:08:06 Have been going in rounds! Appreciate the help, **** BEGIN LOGGING AT Thu May 02 20:00:21 2019 May 02 21:49:04 Hi , I am using a Beagle Bone Black with Debian 9.5 Installed on it , I have written a May 02 21:50:04 Python script that I would like it to run everytime the BeagleBone is turned on , any ideas? I found on Stackoverflow a couple of stuff that I tried and did not work with RS.local or init.d , is there another solution for this? May 02 22:06:59 would be /etc/init.d/rc.local - is that what you mean ? May 02 22:08:10 or maybe systemd has some undocumented magic crap way to do it May 02 22:49:33 you mean /etc/rc.local ... or better yet, just make a systemd service May 02 22:50:27 here's an example service file: https://pastebin.com/KXVdTNrL May 02 22:58:22 zmatt: you're right, but I checked for /etc/init.d/rc.local and there was one. But /etc/rc.local is the one to change, correct May 02 22:59:19 i have nfc where any of systemd is documented so I don't ever reccomend it. Other services exist :) May 02 22:59:36 systemd has an extensive set of manpages May 02 22:59:41 as well as numerous articlesw May 02 23:01:05 and while other options exist for pid 1 on linux, I would definitely not recommend switching away from systemd unless you feel very passionate about doing so and know exactly what you're doing May 02 23:02:08 lets not argue about it here. My position is that that was the case with init, and poettering needed the warning. May 02 23:02:40 no clue what you're saying May 02 23:03:06 no worries. as i say, it doesn't need arguing here May 02 23:03:33 plenty of other arguments have already raked all the coals there are May 02 23:03:58 i'll agree to disagree and accept that beagle users are happy with it as it is May 03 00:40:21 Hello all , I asked this question earlier here but got disconnected and didn't get to see your replies May 03 00:40:44 00:50 < zmatt> here's an example service file: https://pastebin.com/KXVdTNrL May 03 00:41:39 I am trying to run a python script on my beagle bone every time I power it on , I am using Debian 9.5 on it, I followed this guide and it did not work https://www.itechlounge.net/2017/10/linux-how-to-add-rc-local-in-debian-9/ May 03 00:42:43 that guide is garbage. rc-local.service already exists by default, it will automatically activate whenever /etc/rc.local exists (and is executable) May 03 00:42:59 generally you should just make a custom service however, /etc/rc.local is just a backwards-compatibility thing May 03 00:43:29 I see now , thanks for the explanation zmatt , I will try this out May 03 00:47:40 I am checking the link you sent me , my program indeed needs internet connection before running the program, In that case , are both of these lines necessary ? Wants=systemd-udev-settle.service After=systemd-udev-settle.service May 03 00:48:00 Wants=systemd-udev-settle.service After=systemd-udev-settle.service May 03 00:49:26 it's not my problem if you can't read the comments in my example May 03 00:52:14 How am I not able to read them if I just copied them to this chat? May 03 00:54:11 PS I appreciate the knowledge that you have and the help you provide even though you always seem to be bitter about it May 03 01:01:27 Thanks , have a good day May 03 01:37:41 Bitter! May 03 01:37:50 Like beer! **** ENDING LOGGING AT Fri May 03 02:59:57 2019