[ / / / / / / / / / / / / / ] [ dir / random / biz / fringe / komica / mu / pone / rule34 / t / tech ]

/g/ - Technology

Make /g/ Great Again
Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
dicesidesmodifier

Allowed file types:jpg, jpeg, gif, png, webp, webm, mp4, swf, pdf
Max filesize is 16 MB.
Max image dimensions are 15000 x 15000.
You may upload 5 per post.


File: 83e8a242533a804⋯.jpg (23.39 KB, 640x400, 8:5, Untitled.jpg)

 No.9614

retard thread. beginner. linux.

I have a question and I probablly have more. I'm not sure if im retarded but what ever. atleast i can type this.

on to the question.

I'm running Devuan. And I'm trying to progress with learning shell commands. yay. well not really.

Why does sudo /etc/passwd command do fuck all? I'm following a book, but can't continue the instructions with this denial prompt.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.9615

bash: /etc/passwd: Permission denied

this is all I get.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.9616

I discovered the issue. it's a text file. grep " name" /etc/passwd the book wasn't clear with that bit.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.9623

>>9614

>>9615

>man passwd

A program by the same name manages that file. Its a root/superuser program so you have to

>su

Or

>sudo

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.9667

>>9614

>$ sudo apt install weechat

>$ weechat

>/connect irc.freenode.net

>/join ##linux

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.9680

you are really new to computers if you think any program should go in /etc/.

maybe try Ubuntu first?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.9692

>>9615

/etc/passwd is the name of a file that contains all the system passwords

/bin/passwd is the name of the program that you use to set/change passwords for users on the system. Settings files live in /etc, and programs live in /bin directory (there's a lot more to it, but that's a very basic idea)

sudo is the command used to run something as root user when you are logged in as a different user.

It sounds like you have a typo in your book, and it should either be something like

cat /etc/passwd

to view the password file entries.*

sudo passwd some-user-name

to set/change the password for some-user-name

try

man passwd

to see how the command works.

*(passwords are not stored, only the hash of the password - which is a one-way mathematical operation on the password that results in a unique text called the "hash". You can't take a hash and reverse it into a password - which is why people pre-calculate common passwords and store hash databases for password matching/hacking)

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.9720

discord datamines to all hell, so i tried using irc discord on weechat, but that didnt work at all. once i connected to the server, the entire gui would fuck about and end up unusable. why the fuck does irc clients for discord suck ass

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.9721

Why did I use Void Linux

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.9729

>>9721

I made the mistake of downloading void linux too, anon. I like void tbh, but if was too advanced for me. So I got Ubuntu instead; much easier. But now I wanna use void again because it's great with i3 I hear, and I like i3, I don't like having to remember so many key combinations and shortcuts, but it keeps you entertained.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.9730

>>9721

>>9729

Also, vois is non systemd

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / biz / fringe / komica / mu / pone / rule34 / t / tech ]