« first day (2188 days earlier)      last day (2761 days later) » 

12:03 AM
@Rinzwind dissagree
he's trying to be helpful
 
@Windows3.1 no.he has so much unneeded things in there it is making it impossible to find what he consders a problem
besides that: he uses images so it makes it also impossible to copy/paste t into google :=)
2am. bedtime :=) BBL
 
very impressed. most comprehensive answer I've gotten ever. thank you so much — mrjayviper 51 secs ago
Hell yeah !
Another satisfied customer
 
accepted?
 
Oh yeah
Accepted and upgoated
 
ah, I see.
 
12:09 AM
classic serg novel
 
Wow, that's lots of an answer.
 
I tried to make it as detailed as possible for n00bs and pros alike
 
Was that grammatically correct? ^
Or can't I say it like this?
 
You can say "That's whole lot of an answer"
 
sounds better, thanks
 
12:11 AM
one hell of an answer
 
that too...
 
I'm gonna be adding more features to that script , but for now that's all
 
@edwinksl Lol nah, you're legit
 
woah, dustin kirkland got called out here askubuntu.com/questions/829272/…
 
@Serg s/s\ w/s\ a\ w/
 
12:14 AM
sed madness
 
@edwinksl eh??
@edwinksl I'm telling him he missed an article
 
¯\_(ツ)_/¯
 
I followed these steps:
Install linuxbrew from github.
Ensure wget is installed via linuxbrew.
Install hadoop via linuxbrew.
My hadoop configuration files were in a different location than the tutorial I was following suggested.
Also, it appears to be a pretty bad tutorial,because it uses sudo to edit ~/.profile and misspells profile as profil, but I sorted that part out.

When I tried to run the included startup scripts, they weren't in my $PATH, so I added them.

Now I added these aliases to my ~/.profile:
 
Sigh . . . next one is the the question for which i set my own bounty . . . .gosh . . .
 
a mod could refund it...
just endear yourself to one of them ;)
 
12:21 AM
@mods I LOFF YU SO MUSH
Like that ?
jk
 
more enthusiasm.
I'm off, good nigh
 
the end is nigh :p
 
12:45 AM
@Seth signing the non-disclosure form, and took the day to do the interview next week. can't tell you anything after that, but it should be interesting - the other question should I spend the 40 pounds towards the mx5 pro to flash to ubuntu ;)
@Windows3.1 because some might forget a name that begins with J if your name now begins with W and then changes quickly to something else
 
1:02 AM
sigh . . .dual launcher breaks my script
dammit
 
Anyone know of an X11 client for Android?
 
???
 
There are plenty of servers but no clients.
Oh hang on, I think I got confused.
 
1:17 AM
There goes @Serg with his Chinese keyboard
 
当然!
 
lol
 
@Zacharee1 how did the CV partay go
 
didn't
 
gg
 
1:27 AM
but I got through 20
 
do your 20 naooo
 
almost got it. A little more editing and i think i will have a working script
 
2:04 AM
new indicator app?
@Serg could be interesting to you askubuntu.com/questions/829284/…
 
2:26 AM
Just £40 for a Pro 5? I say totally!
 
Gah! Why is ATT billing so confusing
 
Or at least buy it and let me buy it from you :p
 
what did you break
 
I'm a noob, but how do I make a .sh script not require sudo
 
2:28 AM
can't, really
shell scripts can't be setuid'd
 
@DavidCole-GrammarPolice dont make it execute any sudo commands
 
haha @Windows3.1
 
@KazWolfe what?? I've made sh scripts without needing sudo
 
Okay but if I set a .desktop file...? @KazWolfe
 
@Windows3.1 i call lies. you can't setuid shell
 
2:29 AM
@DavidCole-GrammarPolice you don't have sudo at all?
 
@DavidCole-GrammarPolice still will need setuid on the script itself iirc
 
@KazWolfe let me test now! (on Fedora)
 
@KazWolfe Teach me your ways
 
112
Q: Allow setuid on shell scripts

Michael MrozekThe setuid permission bit tells Linux to run a program with the effective user id of the owner instead of the executor: > cat setuid-test.c #include <stdio.h> #include <unistd.h> int main(int argc, char** argv) { printf("%d", geteuid()); return 0; } > gcc -o setuid-test setuid-test.c >...

@Windows3.1 @DavidCole-GrammarPolice --^
 
this is my script:
#!/bin/bash
echo test
sleep 10
 
2:31 AM
it will still run effective as you, not root.
 
it works
 
make it cat /etc/shadow or something and setuid
you'll get permission denied
 
@KazWolfe I'm lazy and don't want to read all that, what do I do :D
 
@edwinksl nah , it's a script for the "single click expo" question. It sort of works, but . . . i cannot disable single window click minimization. As for that linked question , it could be done, but it's very if not impossible to completely emulate what OP wants in shell. They'd need a C app with ncurses
 
that is doing something that requires root privileges
simple enough, case settled
 
2:32 AM
This IS something that requires root
 
well then of course you need sudo!!!!
 
unless you can find a nice hack...
 
Okay
Without entering sudo password*
So basically run a .sh as root without entering root PW
 
┌─[19:32:55]─[kaz@wolfe]
└──> ~ $ cat script.sh
#!/bin/bash
cat /etc/shadow
┌─[19:32:58]─[kaz@wolfe]
└──> ~ $ ./script.sh
cat: /etc/shadow: Permission denied
┌─[✗]─[19:33:08]─[kaz@wolfe]
└──> ~ $ sudo chown -R root:root script.sh
[sudo] password for kaz:
┌─[✗]─[19:33:31]─[kaz@wolfe]
└──> ~ $ sudo chmod u+s script.sh
┌─[19:33:34]─[kaz@wolfe]
└──> ~ $ ll script.sh
-rwsrwxr-x 1 root root 28 Sep 24 19:32 script.sh*
┌─[19:33:39]─[kaz@wolfe]
└──> ~ $ ./script.sh
cat: /etc/shadow: Permission denied
@Windows3.1 --^
script is setuid root (obv), and it doesn't get ability to run as root.
@DavidCole-GrammarPolice, You could try using shc
 
2:35 AM
wutsdat
 
Compile shell script into c program.
 
@DavidCole-GrammarPolice CAN you get sudo on your computer or are you not the owner?
 
You can then setuid that effectively.
 
I can
but I don't wanna manually enter PW
 
If you turn your shell script into an executable, you can setuid that to root and run it without password.
 
2:37 AM
I did this before.. Lemme look at my old q's
 
if you want to run something without a password, you either add it to /etc/sudoers or setuid it to root.
 
ah
that was it
./etc/sudoers
 
i prefer compile and setuid, but to each their own
 
can you gedit /etc/sudoers?
 
yeah.
but don't
use visudo
it actually checks the file for errors so you don't break everything
 
5 mins ago, by Windows 3.1
@DavidCole-GrammarPolice CAN you get sudo on your computer or are you not the owner?
 
Like I said, I can I just dont want to
 
5 mins ago, by David Cole - Grammar Police
I can
 
2:41 AM
@KazWolfe I just add a line at the bottom, correct?
 
what does this script do, @DavidCole-GrammarPolice?
 
sudo psswd root
enter sudo pass
then enter new password for root user
 
DO NOT DO THIS
 
then just run in terminal "su"
 
2:41 AM
then you are full root
 
@KazWolfe y not?
 
Never EVER change the root password!
 
It's logged. I know.
 
why not???
 
2:42 AM
If you leave it empty, it makes it IMPOSSIBLE to log in, except by sudo
 
Also, it's logged.
 
Which is what you want on modern systems.
 
@KazWolfe gah just have a strong password
 
No password > strong password in this case
 
2:43 AM
@KazWolfe make it < 8 chars long and you are good
 
You can't brute-force an empty password on Linux.
 
one way to make a strong pass: take a phrase. for example "chocolateicecream" and turn it into "(|-|0(0|@73!(3(|^/3@/\/\"
 
140
Q: Why is it bad to login as root?

MussnoonI've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. However, there isn't much that a search reveals on the matter. It may be widely known to Linux e...

 
@KazWolfe What do I add to the end of /etc/sudoers, I know it's at the bottom
 
I've seen such opinions
@KazWolfe fedora you set one by default
 
2:44 AM
@Windows3.1 This is a horrible way. See here
 
go argue with the Fedora devs
 
The phrase is enough. The characters actually reduce entropy because there are fewer.
 
57 secs ago, by David Cole - Grammar Police
@KazWolfe What do I add to the end of /etc/sudoers, I know it's at the bottom
 
hang on
 
2:45 AM
@KazWolfe well in that example it is done horribly
my example it is done much better
 
@Windows3.1 um... wat.
 
who could break (|-|0(0|@73!(3(|^/3@/\/\ ?
 
You know more than all the crypto experts?
@Windows3.1 The keyspace for that is tiny!
It'll actually take longer to break chocolateicecream than it is to break that.
 
@KazWolfe in that comic, it was more like ch0c01@t31c3cr3@m which is lame
 
@Windows3.1 did you read it?
i don't think you read it all the way
 
2:46 AM
yeah
 
2
Q: proper configuration of visudo NOPASSWD for bash backup script

MountainXThe abstract question is: If script x calls program y, do I need a NOPASSWD entry in /etc/sudoers for x, y or both x & y? (And can x then call sudo -v without a password?) Details: I'm trying to figure out what should go into the /etc/sudoers file to allow a user on Ubuntu (i.e., user ID 1000 ...

tldr, @Windows3.1, let me explain.
In the keyspace of your password, you have 42 possible chars
In the keyspace of "ChocolateIceCream", you have 52 possible chars.
Bigger keyspace = harder to crack
 
yes...
but this is how most bots do
they know that users generally either have numbers or letters
 
look at the entropy example in that XKCD.
 
few users use these !@#$%^&*()_-=+{}|[]
so in their exploits they put the letters/numbers first priority
 
@Seth nah, just 40 towards one... it is like 300 something
 
2:50 AM
those passwords have very little entropy.
 
and they get more people
 
168
Q: Is "the oft-cited XKCD scheme [...] no longer good advice"?

Nick TI was stumbling around and happened onto this essay by Bruce Schneier claiming that the XKCD password scheme was effectively dead. Modern password crackers combine different words from their dictionaries: [...] This is why the oft-cited XKCD scheme for generating passwords -- string toge...

XKCD passwords are relatively secure.
 
@KazWolfe I wouldn't ask security professionals, I'd ask the hackers :P
 
Ideally, you'd just use random strings of the entire keyspace (a lot of entropy).
Most security experts are hackers. That's why they're experts.
o!6kM2GEcq74^u!U <-- one of my example passwords.
 
@KazWolfe I'm talking about the kind that secure servers... they aren't expert hackers. At least not the EXPERT EXPERT lol
 
2:54 AM
i beg to differ.
Do you know who the government hires to protect their servers?
Or Northrop Grumman?
 
@KazWolfe I bet I could make a good password this way: turn on a Persian keyboard and type normal words in English. The English equivalent would be like "sdfhiueaghvhfsdhajldskhgiuas"
 
Or... just use a password manager and randomly generate passwords.
 
@KazWolfe hm.. it keeps saving as /etc/sudoers.tmp?
 
no!
 
@DavidCole-GrammarPolice Are you running visudo as root?
 
2:55 AM
@DavidCole-GrammarPolice no wast directed toward you :D
 
@Windows3.1 What's wrong with password managers?
 
@DavidCole-GrammarPolice careful, kaz has some wierd opinions D:
 
I'm sure as hell not remembering 150 passwords for all of the sites I go to.
 
@KazWolfe so you randomly generate a password to prove your increativity, then you are forced to write them down for login passwords
a keychain though is good
 
@Windows3.1 I don't write them down lol
 
2:56 AM
for local passwords
@KazWolfe make one up
I was saying no to the random generators
a keychan is good
 
Why are random passwords bad?
 
they are uncreative and impossible to remember
 
THAT'S THE POINT
 
so you have to write them down or save to HDD
for most passwords: no.
 
Yeah, and I have a very good secure password manager. So...
 
2:57 AM
online passwords: no.
 
I don't have to remember them.
 
login passwords: no.
root passwords: no.
 
@Windows3.1 The only password I remember is my password DB master key, and even that's protected by a keyfile and 2FA.
 
passwords for stuff like remote server logins.. yes.
well maybe no
 
Random passwords are the most secure ever, because you don't remember them.
 
2:59 AM
because if you change your OS or your comp crashes or you get a new comp.... you will forget the passwords.
@KazWolfe why so?
 
@Windows3.1 Cloud backup is a thing.
@Windows3.1 You can't remember them, so you can't re-use them, and that means they're complex enough to not really be crackable.
 
will you remember pass for that
 

« first day (2188 days earlier)      last day (2761 days later) »