New answers tagged


If you follow the above answer, you are going in the right way. At least in my Debian Jessie, i made a soft link to /usr/bin of the command in the path /sbin. For example: /sbin/ifup, i put a soft link (ln -s) to /usr/bin of it and i can use it. Another important thing is to put NOPASSWD like this: User_Alias NET = goviedo Cmnd_Alias ETH = /sbin/ifup NET ...


Yes. The normal/unprivileged user can write to /tmp and /var/tmp, for legitimate reasons. Also, if the user or group permissions of a given file/directory includes those of the user, he or she can write to those files or directories as well. Having said that, providing write capability to operating system files and directories to a normal user, is shooting ...


/tmp and possibly /var/tmp are writtable to any users.


Try: sudo touch /etc/init.d/arkos-redis I had the same problem. If that doesn't work: sudo strace systemctl enable arkos-redis Look for where the last failure occurs.


Copy the postgresql unit file: cp /usr/lib/systemd/system/postgresql.service \ /etc/systemd/system/postgresql-userxy.service Then edit postgresql-userxy.service and add User= and WorkingDirectory= to the [Service] section. After that enable the service: systemctl daemon-reload systemctl enable postgresql-userxy.service


From my research I believe I know the answer - this is impossible to achieve. Sudo is a command line only and cannot be invoked from GUI. This answer does not explain the nature of what's happening because honestly I don't understand the details, but I made peace with the fact that it's not achievable.


You need to add yourself to the wheel group: sudo usermod -a -G wheel $LOGNAME Then GUI would ask for your password, not the root's one.


sudo chown -R your_name:your_name /media/"name_of_USB" sudo chmod -R 666 /media/"<name_of_USB>" you can use pmount ("policy mount") is a wrapper around the standard mount program which permits normal users to mount removable devices without a matching /etc/fstab entry.


All applications ran by normal user need extra permission to access /dev/* (that is owned by root, and other users need to be added to groups, like You said, to be able to manipulate files there according to group permissions) To answer Your question mkfs is utility for formatting from commandline, for example mkfs.exfat (with arguments) to allow users to ...


If you really want to protect the whole filesystem, then you can remount it readonly (normally requires root permissions). mount -o remount,ro /file-system/mountpoint


According to the locale(1) man page it can - you'll need to set the LOCPATH environment variable to point to the directory of your choosing (at least on some Linux systems). Note, that there are several sources of locale(1) man page - I have been able to locate at least two referring to Linux. I suppose you'll need to try to see whether this works on your ...

Top 50 recent answers are included