S
S
sanoprosto2019-11-12 22:43:28
linux
sanoprosto, 2019-11-12 22:43:28

Is it possible in linux to view another user's directory on the same machine?

I have two users on the computer and from one I need to browse the directory of the other, can this be done and if so, how?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
U
uvelichitel, 2019-11-12
@uvelichitel

The su command will need to enter another_user's password

$ su ImyaDrugogoPolsovatelya
password:
$ ls $HOME

S
SagePtr, 2019-11-12
@SagePtr

It is possible if it has read and execute access to this directory. If users are in some common group, then it is safer to give access to the group, and not to give the rest (and change the group of the files to the desired one, if not worth it).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question