Re: Invocation of applications which require root permitions



'Forum Post a écrit :
>  jury said:
I have installed Ubuntu 5.10.
(This is my first installation of Ubuntu)
It was performed in the expert mode as I wanted to create disk partitions manually.
During installation, I typed the root password and later made the first user.

!!! After installation, I try invoke the root's applications by Gnome menu, for example "synaptic".
I type the user password into the displayed window, but after that do nothing.
All applications that I tried to run, ones do not started !!!
In case I type from console following:
$ sudo synaptic
$
Nothing occurs!

Could you help me with this problem?
Thanks,
Jury
I had the same problem as you, because we both did expert installation
method instead of the normal one.
I rerun a new installation, because the custom one allows you to choose
and edit partitions and avoids that problem. It worked perfect for me.
I know it shouldn't be the good method, but it works. Another one I
think is editing de /etc/sudoers file, but nobody's sure about what to
do.
I hope I've been useful... :;
I don't think so. You both did some job, but no one knows on what type of machine you performed and other details, I don't know too much what.

I did about 28 installations among 3 or more distributions but 3 principally. What it leads me to say, is that during the several I did with Ubuntu among which half a dozen just for tests and explore the install possibilities, expert mode would never ruin a user's caracteristics.

About sudoers file, it has to be edited as root so if you can't use your
password it's of no use.

What to do ? same as Old Rocker did to solve his recent problem with a file that he could not reach as root : take a live CD, run the terminal as root (no password required in a live CD) mount the / partition of your install in the /mnt of the live CD's / then chroot it and add a root account :
see on the CategoryDocumentation to find the 'HowToRootSudo'. It look like something like that:
$sudo passwd root
or $sudo root passwd I'n not sure anymore.


Then you can reboot and login as user (Jury how did you login as user anyhow ?)
Then you can access to administration tools to make things properly for your user (change the password to have a new user password I'd say).


When finished, do lock the root account again, for safe :
$sudo -l root
(this one I'm sure to remember).

HowTo chroot ?
#chroot /mnt

HowTo mount "/" in "/mnt" ?
#mount /dev/hdax /mnt

(or sdxx) where x are numbers I don't know...

HowTo see how is your device named in the partitions ?
#mount

HowTo see in what partition you have your "/" ?
#cfdisk /dev/hdx

(or sdx...)

be careful with cfdisk, it's a partitioning tool, so quit with the quit option you reach with the direction arrows as soon as you have seen the content.
Best greetings, and welcome in the Tux country.
Joyce Markoll.


Attachment: signature.asc
Description: OpenPGP digital signature

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: 8.04 dual-boot w/ XP: - installation problems
    ... However, on booting, and entering grub, the only OSs listed are Ubuntu: ... Linux... ... what partitions are seen on that disk. ... i.e. your installation and data will be gone. ...
    (Ubuntu)
  • Re: troubled installations
    ... The installation of 5.1 in a dual boot ... work within both Ubuntu or Windows after choosing at boot-up. ... partitions for access from Ubuntu!) ...
    (Ubuntu)
  • Re: troubled installations
    ... I have tried to install Ubuntu or Kubuntu twice. ... partitions for access from Ubuntu!) ... rather than the installation engine. ...
    (Ubuntu)
  • Re: Ubuntu verlangt Zugangscode!
    ... /etc/sudoers laesst den Wechsel zu root-Rechten fuer jeden ... Der waehrend der Installation angelegte USer ist ... Ubuntu seine Root-Rechte eben nicht nur durch "sudo" im Terminalfenster ... Root einloggen. ...
    (de.comp.os.unix.linux.misc)
  • Re: troubled installations
    ... and XP reported the other partitions as faulty. ... The installation of 5.1 in a dual boot ... work within both Ubuntu or Windows after choosing at boot-up. ...
    (Ubuntu)