Page 1 of 1

run application as root

Posted: Wed Jun 18, 2014 12:41 am
by dupek
I went trough a lot of work to install an application. Finally work, but is require to run as root. No option(right click). How do I log into system as root?. I try the "mint", but that did notwork. Thanks.

Re: run application as root

Posted: Wed Jun 18, 2014 2:58 am
by nomko
Which application you're talking about? Were did you downloaded it? How did you installed it?
Please read the forum rules and provide us with more info!
I try the "mint", but that did notwork
What do you mean?
run application as root
This can destroy more than you're hoping for! There's a reason why regular users can't be root or run applications as root.

Re: run application as root

Posted: Wed Jun 18, 2014 4:55 am
by jahid
You can log into mint as root, go to login window, put "root" as username and your password for password. As it seems you haven't set any different password for root , so root password and user password are same.

But it's not a good idea to login as root to run just a single program. You can run anything with root privillege within your user session.

Code: Select all

sudo program_name_or_command

Re: run application as root

Posted: Wed Jun 18, 2014 2:45 pm
by dupek
nomko: why do you ask so many questions - are you part of some "spooks" org?. I know the risk involve with root logging. Years back ( in 80s), I use Slackware with console logging and then type "startx" if want to use GUI. I was looking at the file structure and it is very confusing - nothing like Slack. Too many secrets.
jahid: I try the console to set root password, but will not let me do it. I try in recovery mode, but will not let me startx. I like the KDE Mint, but if I have to "fight" with it - I will go back to Slack and "fight" with wifi connection. Slack "do not like" my laptop. At least - Slack let me do whatever I want to.

Re: run application as root

Posted: Wed Jun 18, 2014 2:56 pm
by WinterTroubles
dupek wrote:I know the risk involve with root logging. Years back ( in 80s), I use Slackware with console logging and then type "startx" if want to use GUI.
Maybe if you'd explained this in your opening post...........................................................

Re: run application as root

Posted: Wed Jun 18, 2014 3:15 pm
by I Know Nothing
I hesitate to answer questions on these forums because I'm far from an expert but sometimes it's painful watching people who probably do know a good answer being unhelpful.

I think whatever the command is to start the application you run it as root by putting gksu infront of it. You can do this as a one off in the terminal or edit the command in the menu.

Re: run application as root

Posted: Wed Jun 18, 2014 3:19 pm
by FreedomOfTheOpenCode
dupek wrote:I know the risk involve with root logging. Years back ( in 80s), I use Slackware with console logging and then type "startx" if want to use GUI. I was looking at the file structure and it is very confusing - nothing like Slack. Too many secrets.
I try the console to set root password, but will not let me do it. I try in recovery mode, but will not let me startx. I like the KDE Mint, but if I have to "fight" with it - I will go back to Slack and "fight" with wifi connection. Slack "do not like" my laptop. At least - Slack let me do whatever I want to.
I know what you mean. I had the same experience migrating to Mint. I like to see what's happening during startup and I want to be in control. Mint tries to please a broad range of users and I think it gives priority to novices on the reasonable assumption that experts should be able help themselves.

Re: run application as root

Posted: Wed Jun 18, 2014 3:33 pm
by DrHu
Sudo or gksudo may work, the usual reason for running as root is permissions or sometimes specific directories(folders) being used
https://help.ubuntu.com/community/RootSudo
http://www.wikihow.com/Become-Root-in-Ubuntu
--and you may be able to set up sudoers to not require root enabling, but simply to provide access for that program

If it doesn't, then for Ubuntu or Mint you can enable the root account and of course set a password, then run that program
--some applications used to require root access: probably only because it made everything so simple: root has full permissions to every directory/folder on the OS), but it was a kludge and programs that did require that became fewer in number over time
  • As developers become more intelligent about what they were doing on the user's computer..
And if it wasn't an application you created, it would help to know the application name

Re: run application as root

Posted: Wed Jun 18, 2014 5:09 pm
by dupek
Well, back to Slack. Have to figure out my wifi. I like the look the Mint(KDE), but look is not enough. To me, any Linux distro should be free from restrictions, but that is my opinion. If I want to "screw up" my OS, that should be my choice and not some kiddie because mom told him not to. Just try "pure" debian and everything works fine, but root logging disable. Come on guys( and ladies). Do you have that miserable life to mess up perfectly good distro?. More, and more Linux distros become worst that Windows.

Re: run application as root

Posted: Wed Jun 18, 2014 7:27 pm
by niowluka
You can do whatever you want on Mint as well, it is no different to any other distro. And there are no secrets either, you just have to know what to look for and where. It's just a different approach, in Slack you start with nothing and have to set everything up yourself, in Mint everything is setup already, so you have to tweak it to your liking.

I think what you should have done was to log into desktop (whichever you were using), and first setup root password:

Code: Select all

sudo passwd
..and then enable root login in mdm setup (tab 'options'):

Code: Select all

sudo mdmsetup
As for Slack itself, good choice, I think it's a great distro.

Re: run application as root

Posted: Thu Jun 19, 2014 3:46 am
by nomko
dupek wrote:nomko: why do you ask so many questions - are you part of some "spooks" org?.
Nope. I just want to avoid the "help i have a problem, please help me" situation to get some more answers/input from you. And beside that, i just asked you 1 question! You received more input/comments/remarks from others thank from me. So why this personal attack on me??? Reported!

Re: run application as root

Posted: Thu Jun 19, 2014 10:24 am
by karlchen
Hello, dupek.
I will go back to Slack and "fight" with wifi connection. Slack "do not like" my laptop. At least - Slack let me do whatever I want to.
Well, Linux Mint lets you do what you want as well. The steps may be a little bit different from what they were way back in the good old 80s. But this will not stop you, will it?
  • Ubuntu RootSudo
  • Official User Guide Linux Mint 17, bottom of p. 18
    Note: By default, your “root” password is the same as the password you chose during the installation. If
    you do not know what this means, then don't worry about it.
  • Result:
    What Ubuntu tells about RootSudo applies to Linux Mint, too, except for 1 difference: The Linux Mint setup does not disable root login, but instead assigns a password to root during installation.
Kind regards,
Karl

Re: run application as root

Posted: Thu Jun 19, 2014 11:50 am
by AlanWalker
deleted

Re: run application as root

Posted: Thu Jun 19, 2014 10:27 pm
by Pilosopong Tasyo
Dupek:

Garbage In, Garbage Out:
...commonly used to describe failures in human decision-making due to faulty, incomplete, or imprecise data.
When asking for help, don't forget to state pertinent details that might help us become more aware of what kind of help you need. In this thread's particular context, your level of technical ability. As it was pointed out to you earlier:
nomko wrote:Please read the forum rules and provide us with more info!
WinterTroubles wrote:Maybe if you'd explained this in your opening post...
We had no way of knowing if you were a newbie or not. So mentioning your skill level might have steered members into providing you more apt answers.

Don't be hostile to those who are trying to help you. Whether or not the manner of follow-up questions are perceived as being nosy, it could have been handled with diplomacy (from both parties). Members in this forum are unpaid volunteers who allocate [some of] their spare time to help others. This includes us forum moderators and admins. You didn't pay a single centavo to use Linux Mint and neither are you paying for support.

Everyone asking for help in this forum should also bear this in mind.

Having said the above, I suggest all concerned parties to drop this petty issue. It's time to move forward.