M
M
Murodjon Abduvokhidov2020-03-13 07:32:01
CentOS
Murodjon Abduvokhidov, 2020-03-13 07:32:01

Root shortcut?

in CENTOS I created a .desktop file with the following content:

[Desktop Entry]
Name=Double Commander
Comment=Double Commander is a cross platform open source file manager with two panels side by side.
Terminal=true
Icon=doublecmd
Exec=sudo doublecmd %F
Type=Application
MimeType=inode/directory;
Categories=Utility;FileTools;FileManager;
Keywords=folder;manager;explore;disk;filesystem;orthodox;copy;queue;queuing;operations;
Comment[ru]=Double Commander — это кроссплатформенный двухпанельный файловый менеджер с открытым кодом.


I read about it at the link How to make a shortcut with root rights? but you will always need to enter a password. How can I run Double Commander as root without a password.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Antonio Solo, 2020-03-13
@solotony

add a line like this to sudoers
user ALL=(ALL) NOPASSWD: ALL
if you need to manage permissions read more about sudoers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question