Language Selection

English French German Italian Portuguese Spanish

Why starting a KDE application with just su failed?

Filed under
KDE
MDV

Several times users where surprised by the new behavior of KDE 4 applications. Indeed, as the super-user mode for the applications doesn't not work currently, they often have to open a terminal, and use su to start the application as another, notably root. However when just using su instead of su -, this will failed. Why ? The explication is very simple.

First it should be noted that su means Substitute User, and not Super User. Indeed su allow to switch to whatever user you want and not just to the root user. However if no user is specified, then it will used the root user. This is logic because in a Unix/linux system, there's only one user which will normally always exist and with the same name : root. Now that this point is clarified, it should be noted that you have 2 ways to switch to another user : the light way and the heavy way. Now let's try to explain the differences between each ways :

rest here




More in Tux Machines

Gngr: A New Web Browser Focused On Privacy

A group of developers have started writing their own open-source web browser that primarily is designed to increase web privacy and greater security. Gngr is the new web browser under development and its conservative defaults mean no cookies, JavaScript, HTTP referring support, third-party frames, and a minimalistic user-agent string. Gngr is written in Java to make use of the Java runtime's sandboxing abilities but ultimately they plan to switch over to some other JVM-based language. While the code has yet to drop on Gngr, it's said to be coming after the initial release. Those interested in more information on this privacy-focused web-browser can visit Gngr.info. Read more

Linux Kernel 3.17.4 Is Now the Most Advanced Version Available

Greg Kroah-Hartman has released a new version of the Linux kernel, 3.17.4, and this is now the most advanced release available for download. It will remain like this for a few more week, at least until the new 3.18 branch will be made available. Read more

Parted Magic 2014.11.19 Now Has Boot Repair Option

Parted Magic is a Linux distribution that features numerous tools for disk management, such as GParted and Parted. It’s one of the best distros of its kind, but also a commercial OS. Read more

With Assembly, anyone can contribute to open-source software and actually get paid

The open-source movement has produced some of the most widely utilized software in the world, a huge economic value driven by a widely dispersed community who believe contributing good work is often its own reward. Outside of the world of computer science, however, these strategies are still relatively niche. A San Francisco startup called Assembly is trying to change all that, by evolving the open-source model to easily incorporate disciplines outside coding and to include a shared profit motive as well. Today the company is announcing a $2.9 million round of funding it will use to help expand its platform. Read more