Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Weird permission errors Ubuntu 10.10
New Posts  All Forums:Forum Nav:

Weird permission errors Ubuntu 10.10

post #1 of 9
Thread Starter 
For some reason I'm having permission issues.

For example, I want to install samba. I go "sudo apt-get install samba samba-common" and it asks for sudo password. Then it goes through, then usual verification of "23.4MB of additional data...continue? Y/N" Then I put Y, obviously. Then it gives me "WARNING: The following packages can not be authenticated! samba. Install these packages without verification? [y/N]? I do Y and it goes through anyway.

Thats fine and dandy, but anytime the popup for my password comes up, i.e. launching Synaptic Package Manager or launching an administrative task, it tells me my password is wrong. It is definately not wrong, though. I used it for login and that worked fine. I even did "passwd" in terminal and changed it and relaunched what I was trying to and still no success.

What do I do? I can't find anyone on google with a similar situation..
Downgraded 2.0
(11 items)
 
  
CPUMotherboardGraphicsRAM
intel i3 4130 msi b85-g41 EVGA GTX680 Samsung 30nm god sticks 
Hard DriveHard DriveOptical DriveOS
Western Digital Caviar Black 1TB Crucial M4 LiteOn iHES108 Windows 10 Pro x64 
KeyboardPowerCase
rosewill rk9000re Corsair HX650W CHIEFTEC Bravo BL-01B 
  hide details  
Reply
Downgraded 2.0
(11 items)
 
  
CPUMotherboardGraphicsRAM
intel i3 4130 msi b85-g41 EVGA GTX680 Samsung 30nm god sticks 
Hard DriveHard DriveOptical DriveOS
Western Digital Caviar Black 1TB Crucial M4 LiteOn iHES108 Windows 10 Pro x64 
KeyboardPowerCase
rosewill rk9000re Corsair HX650W CHIEFTEC Bravo BL-01B 
  hide details  
Reply
post #2 of 9
Try installing the packages by issuing 'sudo su root' before you run the aptitude command, to make sure the appropriate files get copied so there is nothing missing.
post #3 of 9
Quote:
Originally Posted by LiFTed View Post
Try installing the packages by issuing 'sudo su root' before you run the aptitude command, to make sure the appropriate files get copied so there is nothing missing.
that command will just switch user to root.

check the file:

nano /etc/sudoers

make sure it is setup correctly.
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #4 of 9
Quote:
Originally Posted by transhour View Post
that command will just switch user to root.
Which is exactly what you want to do, so that you can get over permission errors if your normal user can't modify a certain directory.

The sudoers file shouldn't need to be touched, you'd see an error if you weren't able to use sudo already.
post #5 of 9
you can't run gui programs as root thru terminal.

to get gui programs open you have to do:

sudo dolphin&

or

sudo gedit&

if you are root and you run:

gedit

or

dolphin

you will get an error stating user can't connect to xdisplay, so sudo does play a big part in it.

sudoers file is what lays out what permissions and what groups or users are added to allow to use sudo as a regular user.
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #6 of 9
He's running apt-get which is a console command..

What do GUI's have to do with it?
post #7 of 9
Quote:
Originally Posted by shadman View Post
For some reason I'm having permission issues.

For example, I want to install samba. I go "sudo apt-get install samba samba-common" and it asks for sudo password. Then it goes through, then usual verification of "23.4MB of additional data...continue? Y/N" Then I put Y, obviously. Then it gives me "WARNING: The following packages can not be authenticated! samba. Install these packages without verification? [y/N]? I do Y and it goes through anyway.

Thats fine and dandy, but anytime the popup for my password comes up, i.e. launching Synaptic Package Manager or launching an administrative task, it tells me my password is wrong. It is definately not wrong, though. I used it for login and that worked fine. I even did "passwd" in terminal and changed it and relaunched what I was trying to and still no success.

What do I do? I can't find anyone on google with a similar situation..
Quote:
Originally Posted by LiFTed View Post
He's running apt-get which is a console command..

What do GUI's have to do with it?
he runs synaptic, which uses sudo...

to be able to run any gui with administrative permissions you need sudo to be running correctly, you simply can't do sudo su root, why instead of offering a work around, lets try to find what is causing the problem?
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #8 of 9
Thread Starter 
Also, since it seems like it might be important, this only affects the password prompts that have a password-saving option attached to it. Could this be a problem with a keyring or something?

And also sometimes on terminal, but I haven't gotten it installing anything else..weird. Yet GUI applications I still do.
Downgraded 2.0
(11 items)
 
  
CPUMotherboardGraphicsRAM
intel i3 4130 msi b85-g41 EVGA GTX680 Samsung 30nm god sticks 
Hard DriveHard DriveOptical DriveOS
Western Digital Caviar Black 1TB Crucial M4 LiteOn iHES108 Windows 10 Pro x64 
KeyboardPowerCase
rosewill rk9000re Corsair HX650W CHIEFTEC Bravo BL-01B 
  hide details  
Reply
Downgraded 2.0
(11 items)
 
  
CPUMotherboardGraphicsRAM
intel i3 4130 msi b85-g41 EVGA GTX680 Samsung 30nm god sticks 
Hard DriveHard DriveOptical DriveOS
Western Digital Caviar Black 1TB Crucial M4 LiteOn iHES108 Windows 10 Pro x64 
KeyboardPowerCase
rosewill rk9000re Corsair HX650W CHIEFTEC Bravo BL-01B 
  hide details  
Reply
post #9 of 9
Quote:
Originally Posted by transhour View Post
he runs synaptic, which uses sudo...

to be able to run any gui with administrative permissions you need sudo to be running correctly, you simply can't do sudo su root, why instead of offering a work around, lets try to find what is causing the problem?
You mean synaptic runs apt-get, it's just a front end. =P You have to run synaptic with root privileges otherwise you get some error (can't authorize or some crap).
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Weird permission errors Ubuntu 10.10