/srv/irclogs.ubuntu.com/2021/10/09/#lubuntu.txt

=== genii is now known as genii-core
erik_hi12:16
erik_what are the username and password for the default live user?12:18
kc2bezlubuntu is the user and there should be no password. 12:19
erik_that doesnt seem to work, I am customizing the lubuntu-20.04-desktop iso using the tool called cubic btw, but that shouldnt really matter much12:21
Guest94Hi! Does lubuntu have a calculator app preinstalled17:30
Guest94?17:30
lubot[telegram] <N0um3n0> Yes17:30
lubot[telegram] <kc2bez> kcalc17:30
Guest94Ok. Thanks!17:30
asdjklhello good day19:20
asdjkli want to use a linux live cd with sudo having a password set.19:21
asdjklhow do i do this?19:23
Oxfuxxxasdjkl: use 'sudo su' then 'passwd' i guess.19:34
Oxfuxxxor you gotta fiddle with /etc/sudo...something maybe, not sure if you want sudo to ask for password...19:36
asdjklnope19:36
asdjklwell19:43
asdjkli want to type sudo su19:43
asdjkland it asks for a password19:43
lubot[telegram] <teward001> asdjkl: you'd have to redo /etc/passwd on the livecd.  you'd also have to set a password on the ubuntu user.19:43
lubot[telegram] <teward001> the problem is, editing the livecd is not straightforward in that way19:44
asdjkli just want it to be for the current session!19:44
lubot[telegram] <teward001> just do sudo passwd $USER in the command line, set a password19:45
lubot[telegram] <teward001> then sudo won't work without the password19:45
asdjklbut sudo su does19:45
lubot[telegram] <teward001> (there is a timeout first before it asks for the PW again so you may have to wait about 15 minutes)19:45
asdjkli know that19:46
asdjkli make ctrl+d19:46
asdjklthen ctrl+t19:47
asdjklsudo su still goes19:47
asdjkl<lubot>, any ideas?19:52
lubot[telegram] <teward001> you should refer not to lubot but the individual mentioned in there - i.e. teward001 for me.19:54
lubot[telegram] <teward001> i'm booting a livecd to prod at the settings and see what's in there19:54
lubot[telegram] <teward001> to see if I can help more19:54
asdjklthanks so much!19:57
asdjklso lubuntu only belongs to the group lubuntu19:59
asdjkland root only belongs to the group root19:59
lubot[telegram] <teward001> i didn't need the info it just took a while to download20:03
lubot[telegram] <teward001> so there's an /etc/sudoers.d/casper in the 21.04 ISO which gives 'no password sudo' privs to the lubuntu user.  You can comment out the line in there (or delete the casper file) and then close terminal, wait 30 minutes, and then try again20:04
lubot[telegram] <teward001> just to make sure all sudo permissions are dropped.20:04
lubot[telegram] <teward001> note when you reboot the 'session' will revert to the previous version20:05
lubot[telegram] <teward001> so you need to set a password on the lubuntu user AND remove that sudoers.d entry20:05
=== lubuntu is now known as bunian

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!