Invocation of applications which require root permitions

J.Markoll j.markoll at free.fr
Fri Jan 6 05:02:29 UTC 2006


'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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060106/b97e78f6/attachment.sig>


More information about the ubuntu-users mailing list