Ubuntu :: Make Firefox Open Only With Sudo?
Dec 24, 2010as the tittle says, need to make firefox access only to in sudo mode, how can i do this?
View 2 Repliesas the tittle says, need to make firefox access only to in sudo mode, how can i do this?
View 2 RepliesI am relatively new to scripting, but I was wanting to open a firefox window from a bash script, but have it open, then minimize. In the script, I have a single instance of: firefox & but is there a way to minimize it, versus have it displayed on the screen? I was wanting the command terminal to remain visible and it can't since the firefox window is open in front of it. I looked all over the place, including the man pages, but to no avail. I can make the height and width changes, but no minimize. Either that, or to be able to bring the terminal window back to the front automatically.
View 5 Replies View RelatedA day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.
View 1 Replies View RelatedI have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. I want to do the exact opposite, I want to make Ubuntu's sudo command act more like the sudo command from another distribution. ie I want there to be one root password
View 8 Replies View RelatedSo installing a programm is a problem. I like to install Aqualung. "/.configure" works. But "make" seems to be not installed. "checkinstall" seems to be not installed "sudo apt-get make" does not work. I have no internet connection with linux, because I have no idea how I install the network card. I guess this sudo command use internet? Is there another way to compile that program? (And just by the way, why must this be so difficult?
View 3 Replies View RelatedI use Ubuntu 10.04.1. When i write to terminal "sudo firefox" it opens the firefox with the default users config settings. But when i write "sudo nautilus" it open the nautilus with new config settings. This means there is a problem on my system ? (when i open the firefox with "gksudo", it is using as new user (root user's) config files but nautilus is opening with the root user's files also with "sudo").
View 5 Replies View RelatedServer - Ubuntu 10.04.1 lts
Client - Kubuntu 10.10
When I try to open any nfs-mounted file using OpenOffice, I get a pop-up window titled "Document in Use". The text of the message is:
"Document file 'abcde.odt' is locked for editing by:
Unknown User
Open document read-only or open a copy of the document for editing." I then have three options - <Open Read-Only>, <Open Copy>, & <Cancel> If I cp any of these files from the mounted directory to my home dir (not mounted), I can open them without problem.Also, my firefox & thunderbird date are in this mounted directory as well (sym links to ~dan/.mozilla & ~dan/.thunderbird). Both of these apps hang when trying to open, leaving two processes behind that need to be manually killed. Again, cp'ing the data out of the nfs-mounted dir onto a local dir resolves the issue, so I am 100% confident there is nothing missing or corrupted in the firefox &/or thunderbird data...
relevant entry in /etc/fstab:
server:/nfs/dan/Documents /home/dan/Documents nfs defaults 0 0
relevant entry in server's /etc/exports:
/nfs/dan/Documents client(rw)
I have a win7 laptop and installed a dual-boot ubuntu 10.10. I'm using firefox & thunderbird, shared between windows and ubuntu (default profiles are on a fat32 disk that is shared between the two OSs). I can mount the fat32 disk as usual, but I can't get firefox OR thunderbird to start unless I start them from a terminal using 'sudo'. This is kinda strange. I used to do this all the time and never had a problem before.
I installed firefox, then did:
cd /etc/firefox
sudo firefox -P
in the profile manager, I set the profile file etc, but when I open firefox without doing 'sudo firefox', it hangs up and cannot find the profile. Why do I have to use 'sudo' to open firefox or thunderbird?
It works fine on my other laptop, but I've deleted & reinstalled ubuntu 3 times on this laptop and still have the same problem.
In installing Firefox with sudo apt-get install firefox I don't get Firefox version 5. It seems odd that with Firefox being the main browser included with Ubuntu we don't get the greatest. What is the location of Firefox in Ubuntu, so I can install it with the tar command like on Slackware? Also, anyone know an operand to make tar overwrite files in Ubuntu so I don't have to rm them first, or is this just enhanced security?
View 9 Replies View RelatedI installed the add-on Greasemonkey for Firefox and since then firefox won't open. If I try to open it on safe mode nothing comes up, it I try it a secont time it tells me that Firefox is already running and if I try to open it normally it shows it on the bottom as if it was opening and then it dissapears.
View 1 Replies View RelatedI just migrated into Ubuntu 9.10 from Windows and moved my mail profiles and also my bookmarks to Thunderbird and Firefox.
I can't see the Mail profiles and messages unless I run "sudo thunderbird" and I can't save or edit bookmarks in Firefox unless I run "sudo firefox".
Probably it's best if I don't run Firefox or Thunderbird as root, eh?
I've tried changing the file permissions for bookmarks.html, but no luck. And haven't even tried to tackle the Thunderbird issue yet.
I sudo apt-get removed Firefox from my system in favor of Google Chrome. However, Ubuntu still prompts me to upgrade Firefox. How do I stop that? Also, whenever I click on HTML files, Firefox is still the one that loads by default. How can that be if I've sudo apt-get removed it? And Firefox is still in my Applications->Internet menu... So, was my sudo apt-get remove successful?
View 1 Replies View Relatedsince ubuntu's decided that firefox needs to have their strange and weird theme for the buttons... what's the easiest way to remove this new way that it decides that the button configuration for when you want to close it and other things? I cannot seem to find this file, and i've already tried to delete my .mozilla file and i've installed swiftfox and it's using it. So where in the world did the Ubuntu UI people put this thing at?
View 4 Replies View RelatedAs of this morning I cannot open pdf's by clicking on them in firefox. I can download them and open them from the download window or even from the folder they are saved to, but not from the browser. Evince opens and says: Unable to open document Error opening file: No such file or directory.
View 1 Replies View RelatedI would like to open the file manager by command line using sudo, but I just can't remember the name of it!! I can "almost" remember it... but it escapes me. And I am afraid I don't know where to look for it.
View 9 Replies View RelatedWhen I try to open sudo gedit /etc/X11/xorg.conf
by entering it in the "run tool" nothing appears...
what's wrong?
How I can make sudo Ubuntu 10.04 session an hour and not few minutes?
Now I have to write my password for sudo commands every few minutes.
On my HTPC/Server unbuntu box I have installed logwatch in order to get a daily look on my computer activity.
And I often have this line in the report :
Quote:
root => my_user
-------------
/usr/bin/gconftool - 3 Times.
The corresponding line in auth.log are :
Quote:
./auth.log:Jan 28 07:59:31 sweetBox sudo: root : TTY=unknown ; PWD=/ ; USER=my_user ; COMMAND=/usr/bin/gconftool --get /system/http_proxy/use_http_proxy
./auth.log:Jan 28 07:59:32 sweetBox sudo: root : TTY=unknown ; PWD=/ ;
[Code].....
My first post. I've been using Ubuntu Server edition (Hardy) happily for some time now.
I use sudo regularly during configuration of new services. It always works/authorises within seconds, however, it recently became very slow, to the point of being nearly unusable.
In /var/log/auth.log I noticed a regular working pattern like this code...
When I run sudo as a normal unprivileged user, it asks for my password, not the root password. That's often convenient, but it reduces the amount of information someone would have to have in order to run commands as root. So how can I make sudo ask for the root password instead of the invoking user's password? I know it'd be done with a line in /etc/sudoers, but I can never seem to properly parse the BNF grammar in the man page to figure out exactly what to write.
View 4 Replies View RelatedAfter install TexLive, sudo stop working. If I run sudo:
Quote:
sudo: can't open /etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting
Edit: Hal and dbus is not working either, if i startx I don't have network manager or automatic mount of pen and disks.
I am trying to edit a postinfo.xsl in my root file dir, and with the command:
frank@linux-avnb:~> sudo gedit
(gedit:14150): Gtk-WARNING **: cannot open display: frank@linux-avnb:~>
I get the following. what am i doing wrong?
What are the differences if I build (./configure, make, make install) an app when log in as root vs a "regular" user other than I have to use sudo for make install? If an app is built from a non-root account, will it be available to every other user on the system?
View 4 Replies View RelatedI've setup the .ssh/authorized_keys and am able to login with the new "user" using the pub/private key ... I have also added "user" to the sudoers list ... the problem I have now is when I try to execute a sudo command, something simple like:
$ sudo cd /root
it will prompt me for my password, which I enter, but it doesn't work (I am using the private key password I set)Also, ive disabled the users password using
$ passwd -l user
I am trying to harden my system ... the ultimate goal is to use pub/private keys to do logins versus simple password authentication. I've figured out how to set all that up via the authorized_keys file.Additionally I will ultimately prevent server logins through the root account. But before I do that I need sudo to work for a second user (the user which I will be login into the system with all the time).
For this second user I want to prevent regular password logins and force only pub/private key logins, if I don't lock the user via" passwd -l user ... then if i dont use a key, i can still get into the server with a regular password.But more importantly I need to get sudo to work with a pub/private key setup with a user whos had his/her password disabled.
1) I've adjusted /etc/ssh/sshd_config and set PasswordAuthentication no This will prevent ssh password logins (be sure to have a working public/private key setup prior to doing this
2) I've adjusted the sudoers list visudo and added
root ALL=(ALL) ALL
dimas ALL=(ALL) NOPASSWD: ALL
3) root is the only user account that will have a password, I am testing with two user accounts "dimas" and "sherry" which do not have a password set (passwords are blank, passwd -d user)
The above essentially prevents everyone from logging into the system with passwords (a public/private key must be setup). Additionally users in the sudoers list have admin abilities. They can also su to different accounts. So basically "dimas" can sudo su sherry, however "dimas can NOT do su sherry. Similarly any user NOT in the sudoers list can NOT do su user or sudo su user.
I am using FF ver 5.0.1 from here After reading [URL] I did Code: sudo aa-logprof /path to firefox Allowed all when asked. But when I try to start FF in enforce mode I get
[Code]....
no more open wifi -- fire sheep make hacking open wifi a breexe.starbuck and Micky d's are open to the fire sheep.
View 3 Replies View RelatedAfter upgrading GNOME to 2.32 in my openSUSE 11.3 x86_64 running graphic applications with sudo is impossible. (that means it worked before upgrading GNOME)
Code:
etam@etam-laptop:~> sudo xeyes
root's password:
No protocol specified
Error: Can't open display: :0.0 From /etc/sudoers:
Code:
Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER DISPLAY"
Some interesting facts:
[code]....
i am wanting to use Firefox to connect to my smb shares. However, i keep getting this error message: Firefox doesn't know how to open this address, because the protocol (smb) isn't associated with any program. My client configuration is as follows: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.1.8pre) Gecko/20100106 Ubuntu/9.10 (karmic) Shiretoko/3.5.8preI tried the instructions below to try and fix the problem with no success: Quote: From [URL]
Linux with Firefox In order to connect to a network share directly from you browser under Linux, you must configure Firefox to handle URL's starting with "smb://". This is done by typing "about:config" in the address line and hitting return. After that you must right-click the list of settings and choose "New -> Boolean" as shown below.
As name you must type: "network.protocol-handler.external.smb" with a value of "true". After that you must do the same thing over again, but this time choose "New -> String", type the name: "network.protocol-handler.app.smb" with a value of the path to the application you wish to use for browsing network shares. If you use KDE, this will typically be "/usr/bin/konqueror".
After installing a number of security updates that were listed in the update manager, I can no longer run the "sudo firefox" command.
I got the error message:No protocol specified cannot open display
I found this thread: [url]
Through which I found that I am able to run "sudo firefox" after running:
HTML Code:
I realize this doesn't give you a lot to go on.
Question: Is there a way to view which updates were last installed on my system?
I have a problem after i open software sources i cant do anything and neither open software update manager!
Look and the foto: [url]