S
S
Sergey JSC#2016-12-17 11:43:07
linux
Sergey JSC#, 2016-12-17 11:43:07

Debian. How to run Sublime as superuser?

Good day!
Installed on VirtualBox - Debian x 64. With Gnome graphical shell
In the learning process I use Sublime. But when saving the file, it asks for the user's password every time.
Tell me how to open Sublime Text through a terminal with superuser rights (su), otherwise entering the password every time is very annoying.
I found similar questions in Google - but none of them helped.
Writes: command unknown.
Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
sim3x, 2016-12-17
@MrTotoro

Sublime does not need to be run from the superuser
If there is not enough time to learn nano, then you need to run it from the graphical shell
superuser.com/questions/202676/sudo-vs-gksudo-diff...

A
Alexander, 2016-12-17
@Deexter

Good afternoon!
There is a sudo command for this, but it will only work if your user is in the sudo group.
example: ~$ sudo subl
You'd better go the other way, you need to give write permissions to the file to your user.
for example, let's give full access to the file to any user
chmod

B
Banaqa, 2017-08-28
@Banaqa

sudo /*file path*/ start

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question