[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
>You should never use root because you can run commands that
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 59
Thread images: 12
>You should never use root because you can run commands that will destroy your computer
>Instead you should type SU password command that way you can still run commands that will destroy your computer?

Can someone explain why it's bad to log in as root?
Cause I'm not really seeing the logic.
>>
Only run things as an elevated user as needed.
>>
You aren't accidentally going to type in "sudo." Not to mention the GUI.
>>
I run plasma as root
>>
>>55553012
you aren't also going to accidentally type in rm -rf /
>>
>>55552988
I've been using root for years and I never had any problems. Just don't be a retard and use common sense.
>>
>>55553042
no, but you might choose the wrong file or delete something via the GUI
>>
>>55552988
Logging in as root for performing normal tasks is against common sense and basic security principles as any stupid bug or vulnerability might affect system components.
>>
>>55553044
>/g/
>not full of retards
>>
File: 1404780104705.jpg (173 KB, 1920x1080) Image search: [Google]
1404780104705.jpg
173 KB, 1920x1080
>>55553074
>via the GUI
>>
>>55553146
I do almost everything via GUI. Deal with it.
>>
File: 1298099801438.png (15 KB, 400x400) Image search: [Google]
1298099801438.png
15 KB, 400x400
>>55553009
>>55553089
>>55553012
>linux users literally need training-wheels to use their OS

It's interesting how the most "technologically proficient" can't avoid simple malware. It really makes you think...
>>
Is a terminal emulator a gui?
>>
>>55553198
It's no different than UAC on windows.
>>
File: 1297186682287.jpg (38 KB, 500x491) Image search: [Google]
1297186682287.jpg
38 KB, 500x491
>>55553209
>using UAC

do people actually do this

If UAC is how it feels like to be a linux user, then that's sad.
>>
>>55553232
You can go full retard in both. You can turn UAC in windows, and you can just login as root on Linux.
>>
Troll thread/10
>>
>>55553042
rm -rf /usr /lib/nvidia-current/xorg/xorg

never forget
>>
jesus christ, /g/

root shouldn't be your default user because otherwise owned processes can fuck up your system.

To the retarded timesink-os users: Do you start every process with right-click -> Run as administrator?
>>
>>55553198
On Windows even with admin privilege you still don't get full control of your system
Permission on Windows is a mess
>>
File: index.jpg (10 KB, 223x226) Image search: [Google]
index.jpg
10 KB, 223x226
>>55552988
>>Instead you should type SU password command that way you can still run commands that will destroy your computer?

nobody uses su unless they don't have sudo permissions, use sudo instead

>Can someone explain why it's bad to log in as root?

because as root you get given access to a very, very powerful shell with very few checks on some commands, not only can you do the classic rm -rf / (should require --no-preserve-root on recent versions but it will still fuck your shit up) but you can mindlessly do rm -rf * without checking what folder you're in and wipe out your drive, or do a similarly silly mistake with chmod or something (which is far, far more damaging than rm -rf / if you don't have backups)

but not only are you protecting against yourself by not running as root, you're protecting against bugs and typos in programs (see: bumblebee deleting /usr, steam deleting / (which can happen on windows also before any neckbeard /v/irgin says anything))

not to mention the security risks

>>55553198

pic related, it's you

>>55553232
>>using UAC
>do people actually do this

>disabling UAC

what is this, vista release all over again?
>>
File: 1466704997890.jpg (13 KB, 252x317) Image search: [Google]
1466704997890.jpg
13 KB, 252x317
>>55553232
>disabling UAC

Are you by any chance mentally disabled?
>>
>>55553712
ARE YOU SURE YOU WANT TO DO THE THING YOU JUST TRIED TO DO?
>>
>>55553172
why are you using Linux then?
>>
>>55553732
you are an idiot

stop using computers
>>
File: 1466094978848.jpg (42 KB, 500x500) Image search: [Google]
1466094978848.jpg
42 KB, 500x500
>>55553732
>/g/tards tell us to never use root on loonix because it's dangerous
>they 360 on the Windows UAC, since lmao it's safe to disable it, even if it means you literally disable the same thing that keeps root away on loonix

Why should I disable UAC again? Tell me one good argument why I shouldn't let UAC enabled.
>>
>>55553844
I don't run linux but if I did, I'd do everything as root. Fuck you computer, I'm the administrator, I know what I'm doing and I don't need you thinking for me.
>>
>>55553822
Because I am free to do so, and Linux is starting to get some pretty competent GUI settings now.
>>
>>55552988
Supersu and other su programs, will let you whitelist programs that ask for su.
Or you can allow them access for 1 minute 5min 10m etc etc
>>
>>55555003
what distro are you using?
>>
>>55553871
So you run as admin on mac or windows, right?
>>
>>55555122
Mint (cinnamon) most of the time.
>>
>>55553871
>i dont need you, stupid flight computer. Im the pilot and can fly that f35 all by my own
>>
>finally coming out of the "run OS as root" bullshit even in the Windows world that made machines virus-ridden piles of shit
>people still think they should run GNU as root or disable Windows admin prompting
Shows how fucking goddamn STUPID people are at computers. I swear, some people just need their computers taken away from them.
>>
>>55553371
/thread
>>
>>55555191
Have you ever tried using a non-admin account on windows?
It's fucking awful and forces almost every fucking thing to need admin privilege.
On GNU/Linux the sudo user gets access to home and all files in it that don't belong to root.
>>
>>55552988
root since 2000, same as you OP i don't understand why should i not use it everyday
>>
File: tor.jpg (14 KB, 4989x81) Image search: [Google]
tor.jpg
14 KB, 4989x81
On a scale 1 to FBI, how fucked am I?
>>
>>55555402
FBI+1
>>
>>55553012
> Hmmmm... I really want to try out my new sudoku programm called sudoku.exe
> types sudo [...]
> tries to grab drink
> drink falls to the left
> catches drink with left hand
> accidently hits enter
> Fuck.jpg
> pulls plug
> puts the buttplug next to linux pc
> looks on screen
> Your linux just got raped

kek
>>
>>55553042
You can accidentally do that, newfag.
rm -rf / home/user/yourmomnudes for example.
>>
>>55555461
--no-preserve-root
>>
>>55555412
You forgot the part where you accidentally type your password.
>>
Cucks
>>
>>55555461
why the fuck would you need sudo to delete something in home? Unless it belongs to root. Entering your password should tip you off.
Always double-check your typing in any case
>>
File: 555.jpg (555 KB, 555x555) Image search: [Google]
555.jpg
555 KB, 555x555
>>
File: 1463939870506.png (2 MB, 1536x1152) Image search: [Google]
1463939870506.png
2 MB, 1536x1152
>>55555559
Not quite.
>>
>>55555555
>>
>>55552988
Sauce?
>>
when you run an application, that application can do anything.
The reason you use privileges is so you can limit the application to never destroy the system.
Ideally you would segment it a lot more, so applications is not aware of other applications.

Malware is still bad, but this is a sane way to separate applications that affect the system and applications that can affect user created documents
>>
>>55555685
This looks kinda comfy.
>>
>>55555501
its not always required, if you use sudo with password, second sudo command doesnt require the password for like 30-60 seconds
>>
>>55555685
this looks kinda painful
>>
The main reason, other than a broken installation of Common Sense 2016.7, is that bugs happen in software packages that may not get caught. You simply cannot vet all code as an individual, those you must sandbox what you can. Additionally, running as root while having internet-connected services enabled doesn't just put your personal data at risk, it puts the entire machine at risk if there is a 0-day exploit or you are using weak encryption.
>>
>>55555750
>>
Uac is security theatre. It does nothing more than annoy the user. Sudo keeps the user from fucking up their own shit. They aren't related at all.
>>
Hey you know what's funny?
If you lean over while using TempleOS, it'll crash the computer!
>>
File: uac_dead.jpg (92 KB, 1024x576) Image search: [Google]
uac_dead.jpg
92 KB, 1024x576
>>55556191
> mfw people talk about uac
>>
Things that you hate when maintaining other people servers.
>disable selinux
>all folder permission set to 777 (rwxrwxrwx)
Thread replies: 59
Thread images: 12

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.