Software - running synaptic as other than root fingers99 - 25.07.2006, 00:02 Uhr Titel: running synaptic as other than root
I don't like adept: it's not that it's any worse than synaptic, but it's different enough to require a fair bit of re-learning, so, as soon as synaptic became available in sid, I installed it.
But, running it as an ordinary user doesn't allow any changes, while suing or su - ing to root brings up display errors:
Gtk-WARNING **: cannot open display:
and so on. I don't want to have to log on graphically as root, I don't want to do it through sudoers.
Any ideas?
Running 2006 rc4
ockham23 - 25.07.2006, 00:07 Uhr Titel:
Just a guess, have you tried "sux" instead of "su"?
HK-47 - 25.07.2006, 01:55 Uhr Titel:
i have synaptic installed too, but it asks me for the root password everytime i run it, so there's no problem. have you tried removing and reinstalling it? if that still doesn't work, use the command:
kdesu synaptic
either on the Run Command dialog or from a console. it should ask you for the root password and run synaptic as root. you can also change the command on the shortcut to synaptic in the KDE menu from 'synaptic' to 'kdesu synaptic'
SaberBlaze - 25.07.2006, 04:35 Uhr Titel:
I actually have a questin about sudo. I added myself to the sudoers file, by doing
Code:
username ALL = ALL
According to the official website, that command should give me root privelages but it should ask me the root password everytime I use sudo for example sudo synaptic. But it doesn't. I even tried "username ALL = PASSWD: ALL" but it still didn't work. I remember when I was using Mepis that when I did "sudo program name", it would ask me the root password. Unfortunately, Kanotix does not have this as default when you install. So I cannot use sudo on a freshly installed Kanotix system unless I add myseft to the sudoers file.
My question is, how do I get sudo to ask me the root password when I use it, because obviously this is a security risk (I'm sure I'm missing something somewhere). Thanks.
hubi - 25.07.2006, 04:57 Uhr Titel:
SaberBlaze,
username ALL = ALL
requires not the root-password, but the user's password, if I am not totally misled (have not checked the thing now, but I was using Sudobuntu for a while).
hubi
slam - 25.07.2006, 09:04 Uhr Titel:
No need to fiddle around with sudo. From default Kanotix, when starting synaptic from the System menu, you are asked for the root passwort automaticly. When starting it as user from a konsole, it will start read-only (which is probably the best use of synaptic). The mentioned hack (username ALL =ALL) is not really a secure solution - to which problem, actually?
Greetings,
Chris
SaberBlaze - 25.07.2006, 09:57 Uhr Titel:
I just meant using sudo in general, for example when compiling something I would do ./configure, make, then sudo checkinstall.
fingers99 - 25.07.2006, 22:58 Uhr Titel:
kdesu synaptic
works fine -- IIRC, that's the way Knoppix runs it. sux I've yet to try.