Skip to content

u/simplyjochen

In this archive from Dec 2018 to Jul 2020

3
posts
39
comments
0
media
99
score

Top posts

Access samba share as normal user

hey fellow archers, I have configured my desktop (running Arch of course) to access my (debian) home server's samba share. I am mounting the shared directory via the fstab. If I only provide credentials, even if the smb-username matches my local username, the directory is mounted with uid=0. This of...

0 points2 comments
Open on Reddit

Top comments

Well actually there is a way using the grub menu and you won't need an extra USB stick. I would also recommend you use a live image but I think people should be aware of this.

What's hanging here is systemd, your init system. If you tell your kernel in its command line where to find init and pick a shell, you can remount (rw) your root partition and edit the fstab.

I think this is worth knowing because you're able to access a system without knowing any credentials this way. Edit: this can of course be avoided easily but typically in grub the edit screen isn't locked

6 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.