run application as root

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
dupek
Level 1
Level 1
Posts: 36
Joined: Sun Nov 13, 2011 1:33 pm
Location: Green Cove Springs, FL

run application as root

Post by dupek » Wed Jun 18, 2014 12:41 am

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.

User avatar
nomko
Level 10
Level 10
Posts: 3026
Joined: Sat Feb 25, 2012 7:28 pm
Location: The Hague, The Netherlands

Re: run application as root

Post by nomko » Wed Jun 18, 2014 2:58 am

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.

User avatar
jahid
Level 6
Level 6
Posts: 1221
Joined: Sat Dec 07, 2013 4:07 pm
Location: Khulna, Bangladesh

Re: run application as root

Post by jahid » Wed Jun 18, 2014 4:55 am

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
jahid@HP ProBook 440 G1 Laptop

dupek
Level 1
Level 1
Posts: 36
Joined: Sun Nov 13, 2011 1:33 pm
Location: Green Cove Springs, FL

Re: run application as root

Post by dupek » Wed Jun 18, 2014 2:45 pm

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.

User avatar
WinterTroubles
Level 6
Level 6
Posts: 1474
Joined: Fri Apr 11, 2014 6:25 am
Location: UK

Re: run application as root

Post by WinterTroubles » Wed Jun 18, 2014 2:56 pm

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...........................................................
17.1Cinn/17.1Xfce

If solved please edit the subject line of your first post to include [Solved] so other users know there's a solution in the topic.

GNU Terry Pratchett

I Know Nothing
Level 1
Level 1
Posts: 41
Joined: Sun Oct 06, 2013 8:44 am

Re: run application as root

Post by I Know Nothing » Wed Jun 18, 2014 3:15 pm

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.

FreedomOfTheOpenCode

Re: run application as root

Post by FreedomOfTheOpenCode » Wed Jun 18, 2014 3:19 pm

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.
Last edited by FreedomOfTheOpenCode on Tue Jul 15, 2014 1:33 pm, edited 1 time in total.

User avatar
DrHu
Level 17
Level 17
Posts: 7537
Joined: Wed Jun 17, 2009 8:20 pm

Re: run application as root

Post by DrHu » Wed Jun 18, 2014 3:33 pm

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

dupek
Level 1
Level 1
Posts: 36
Joined: Sun Nov 13, 2011 1:33 pm
Location: Green Cove Springs, FL

Re: run application as root

Post by dupek » Wed Jun 18, 2014 5:09 pm

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.

niowluka
Level 5
Level 5
Posts: 730
Joined: Tue May 27, 2014 6:28 pm
Location: Krakow, Poland

Re: run application as root

Post by niowluka » Wed Jun 18, 2014 7:27 pm

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.
Mint 17 Openbox (MATE) 64bit | Linux 4.1.6 (Vanilla)

Gigabyte GA-880GA-UD3H | AMD Phenom II X4 965 3.4Ghz | G.Skill 8GB DDR3-1600 RipjawsX, F3-12800CL8D-8GBXM | MSI R7 260X 2048 MB GDDR5 OC

User avatar
nomko
Level 10
Level 10
Posts: 3026
Joined: Sat Feb 25, 2012 7:28 pm
Location: The Hague, The Netherlands

Re: run application as root

Post by nomko » Thu Jun 19, 2014 3:46 am

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!

User avatar
karlchen
Level 20
Level 20
Posts: 11220
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: run application as root

Post by karlchen » Thu Jun 19, 2014 10:24 am

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
Image
Linux Mint 19.2 32-bit xfce Desktop, Total Commander 9.22a 32-bit
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.22a 64-bit
Windows? - 1 window in every room

AlanWalker

Re: run application as root

Post by AlanWalker » Thu Jun 19, 2014 11:50 am

deleted
Last edited by AlanWalker on Sat Jun 21, 2014 12:11 am, edited 1 time in total.

User avatar
Pilosopong Tasyo
Level 6
Level 6
Posts: 1443
Joined: Mon Jun 22, 2009 3:26 am
Location: Philippines

Re: run application as root

Post by Pilosopong Tasyo » Thu Jun 19, 2014 10:27 pm

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.
o Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a lifetime!
o If an issue has been fixed, please edit your first post and add the word [SOLVED].

Post Reply

Return to “Software & Applications”