run application as root
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
run application as root
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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: run application as root
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!
Please read the forum rules and provide us with more info!
What do you mean?I try the "mint", but that did notwork
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.run application as root
Re: run application as root
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.
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
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.
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
Maybe if you'd explained this in your opening post...........................................................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.
Re: run application as root
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.
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
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.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.
Last edited by FreedomOfTheOpenCode on Tue Jul 15, 2014 1:33 pm, edited 1 time in total.
Re: run application as root
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
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..
Re: run application as root
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
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:
..and then enable root login in mdm setup (tab 'options'):
As for Slack itself, good choice, I think it's a great distro.
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
Code: Select all
sudo mdmsetup
Re: run application as root
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!dupek wrote:nomko: why do you ask so many questions - are you part of some "spooks" org?.
Re: run application as root
Hello, dupek.
Karl
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?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.
- 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.
Karl
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
Re: run application as root
deleted
Last edited by AlanWalker on Sat Jun 21, 2014 12:11 am, edited 1 time in total.
- Pilosopong Tasyo
- Level 6
- Posts: 1432
- Joined: Mon Jun 22, 2009 3:26 am
- Location: Philippines
Re: run application as root
Dupek:
Garbage In, Garbage Out:
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.
Garbage In, Garbage Out:
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:...commonly used to describe failures in human decision-making due to faulty, incomplete, or imprecise data.
nomko wrote:Please read the forum rules and provide us with more info!
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.WinterTroubles wrote:Maybe if you'd explained this in your opening post...
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].
o If an issue has been fixed, please edit your first post and add the word [SOLVED].