PDA

View Full Version : [ubuntu] user name is unknown to sudo ??



ramaswamyps
December 7th, 2010, 04:31 AM
root@ubuntu:/home/ramaswamy# synaptic
No protocol specified

(synaptic:1564): Gtk-WARNING **: cannot open display: :0
root@ubuntu:/home/ramaswamy#
if i use menu to invoke synaptic or adept it says

your username is unknown to sudo
message comes up

how to correct this?
i am on kde-3.5.12

sgosnell
December 7th, 2010, 05:13 AM
Why are you running as root? Are running from a liveCD? If so, you can't install anything.

ramaswamyps
December 7th, 2010, 06:20 AM
it is already installed ubuntu-10.10 desktop
i cannot use aynaptic from my user login.
it says i am not sudo er
thats why trying as su
anyways i cannot invoke synaptic

sgosnell
December 7th, 2010, 09:07 PM
Add yourself to sudoers. Let me google that for you (http://lmgtfy.com/?q=add+user+to+sudoers+ubuntu)