I am trying to use wireshark on my ubuntu 10.10 laptop. However I have found out that wireshark will only detect my network cards when it is started with root permissions. How would I make it automatically start with root permissions?
I freshly installed Wireshark on my PC by running 'yum install wireshark'. Installation succeeded. But then I cannot find how to start Wireshark. I looked already in different folders by using locate ( and updatedb) but I cannot find the place where I should invoke the program. How I can start my program?
just like everyone who gets trouble after moving from windows to Linux. i am one of them. i have installed the Skype successfully from this help page SDB:Skype - openSUSE but when I click on Skype icon from internet>more application . in the bar it shows like, Skype is trying to connect but after some seconds it disappears from the task bar. i am using Opensuse 11.3 KDE desktop.
Hello, I recently installed python-idle in order to have an IDE for python. However, I cannot find it anywhere in the menu, and also through the terminal it is not recognized. Does anyone know what I have to do?
I just installed openSuse 11.2 on Asus X51L laptop. I already have Windows XP installed. The problem came up right after installation, when he installed Suse and tried to enter it for the first time, this message appeared after long wait at login screen: The following installation problem was detected while trying to start KDE:No write access to '/home/nidzge/.ICEauthority'.KDE is unable to start.
My other PC has ground to a halt as the tmp file is full: "/tmp out of disk space" & "KDE unable to start". I have scoured commands and can't find how to clear all the junk apart from move it somewhere else.
I seem to only be able to start checkgmail as root. I have it listed as a startup application, and in the command line I entered gksudo [path to file]. How do I make it remember the password at each startup?
i'm using Fedora 11 which i installed a couple of days back... i added my user name to the sudoer list but everytime i run the sudo command it takes at least 20 + seconds before anything happens... this happens everytime i run sudo... in comparison to running su things happen immediately... anyone else experiencing this? now everytime i install or run a command requiring root access i just use su...
I have been using ubuntu or a derivative distro and perhaps I grew too used to sudo. If it matters I am on Slackware 13.37 and xfce4. I was able to adjust sudoers to allow sudo but I am having difficulties running some progs as root. The biggest concern is trying to start thunar as root. It wont run after sudo, su, or su -l. What am I doing wrong?
I'm setting up a Python-based webserver on my Debian box. Setup: The Debian OS is VM based, but I've switched the VirtualBox from NAT to Bridged. IP of the VM setup = 192.168.1.7 (per my router's admin screen or ifconfig). I've succesfully set up my router's port forwarding for both ssh and HTTP. I've successfully set up my router's dynamic dns using [URL].
Regardless of the specific Python webserver I'm using (Django, CherryPy, standard library), I have to start the webserver @ 192.168.1.7:80 using sudo. Otherwise I get an error about not having permission to access the port. None of the webserver tutorials mention needing to use sudo when specifying an ip:port.
Question: why do I need to use sudo to start these webservers? Is it an indication that I shouldn't be using 192.168.1.7? Or that I'm not setting a config file properly somewhere?
Recently i was fixing a permissions error on my home folder. In the process i ran accidentally chmod 777 in the root directory. BIG mistake. Now i cant run sudo, or start network manager. I am currently on vacation and made a bootable version ov ubuntu on my flash drive, but i wouldn't boot. I think it is because i chmod'ed the grub folder (with is in the root) I have a boot CD a home, but is there anyway to fix it beforehand?
i use ubuntu 10.10 installed in wubi on my girlfriend's machine.in order to connect to the internet i had to install a dialer script and then i need to type in terminal: sudo cable-start and then password BUT i wish this to happen automatically when booting the machine.i am sure that it is possible, but have no clue how to do it.
I just set up apache on my PC and I cant change the permissions by right clicking because "I'm not the owner" and instead of using the chmod command on every file that I would like to edit I would just like to write a script on a text file, save it to my desktop so all I have to do is double click on it and boom I can edit all my files, etc.
I am attempting to fix a non-production server for a friend of mine. His initial complaint was that he wasn't able to use su or sudo anymore. Upon researching I noticed that he set the owner/group of his entire server to his personal user vs root and what not. I have attempted to run rpm -setguids -a and rpm -setperms -a and it doesn't appear to do anything except to yell at me that i don't have permisions to change the file permissions to root. I am going to be heading over there later tonight and i'm going to try logging in locally as root and then run the rpm -setguids -a. If this doesn't work, is there any other way I can recover the Centos 5.5 permissions back to default? Alternately, is there a way I can reinstall CentOS w/o losing the stuff he has in his /home folder. It is all 1 partition so I was unsure if it would just overwrite what is needed or if it will overwrite everything.
I would like to configure visudo to authorize user to start only one application with sudo on one peculiar host and forbid everything else so, after reading the man, I came up with :
Code:
Select alluser ALL = (ALL:ALL) !ALL user host_name = /usr/bin/application
i am using ubuntu 9.10 .i recently installed vmware server in ubuntu. since during installation of vmware i gave default values the default username for vmware server is root. inorder to access vmware server i changed the root password in terminal. i gave the following command in terminalsudo password rootit prompted for new password and i entered the password. after that i accessed the vmware server using the username as root and password. it worked fine,i created a virtual machine and it worked fine.now the problem is when i restarted the system and login to vmware server i was unable to access virtual machines created previously. also now i am not able to use sudo command .the following message shows up. sudo: must be setuid root. may be this prob is due to the command i gave sudo password root. can someone help me resolve this prob and go back to my previous state.before when i used to give a sudo command it asked for my account password.
I'm running rhel6 64bit. Accidentally I ran % chmod -R 777 /etc and after that I have a problem to do 'su' or 'sudo'. When I did sudo it complained that /etc/sudoers has 777 while it should be 0440. I changed that and also restored right permission for:
Anyway it failed to 'su'. Then I restored back permissions on files in /etc/security and /etc/sysconfig. Still can't do 'su'. Note: I could login from console as root but can't 'su' or 'sudo'. when I do 'su' it gives error: Password: su: incorrect password
Unable to lock directory /var/cache/apt/archives/ Whenever I use sudo apt-get to install my apps in the terminal this pops up when its almost done downloading.
I broke sudo when I wrongly edited a file in /etc/sudoers.d in vi(did not use visudo :-().I read that I could fix the same by rebooting into the 'Recovery Mode' by selecting the same from the grub menu.
However I'd earlier disabled the showing of the grub menu by editing /etc/default/grub. As a result I can't seem to go into recovery mode to fix my broken sudo.
Whenever I try to use the sudo command in the terminal I get the message unable to resolve host, then my computer name. Here's some command line output with some files which I think may be causing the problem. I have Operating Systems homework and need sudo