Re: Problem with su -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2012-03-05 at 10:27 -0500, Bob Goodwin wrote: 
> On 05/03/12 10:16, Aaron Konstam wrote:
> > On Mon, 2012-03-05 at 09:39 -0500, Bob Goodwin wrote:
> >> I have an F-16 computer that was working normally a couple of
> >>          days ago when run this morning has an unusual [to me] problem.
> >>
> >>          When I su and type in the root password form the XCFE desktop it
> >>          spends about 20 seconds before displaying a prompt and then
> >>          instead of:
> >>
> >>              [bobg@box6 ~]$ su
> >>              Password:
> >>              [root@box6 bobg]# exit
> >>
> >>
> >>          I get a prompt:  bash-4.2#
> >>
> >>          If instead of bringing up the desktop with startx I "su" it
> >>          changes to root quickly after entering the password, also with
> >>          the  prompt "bash-4.2#."
> >>
> >>          Other than that it apparently works? But obviously something has
> >>          changed and I can't guess what?
> >>
> >>          Bob
> >>
> >>
> >>
> >>
> > I am not sure what you really want to do, but if you want to become root
> > you need to execute su - not su.
> 
>         The computer is doing what I want it to do but the indications
>         are wrong.
>         The prompt should be [root@box6 bobg]# and I should get there
>         immediately not twenty seconds after pressing "Enter."
> 
>         Bob
> 

The only way you can get a prompt containig root is by using su - .
su will only produce a root prompt  by starting as root. It it not
posible to do this:

           [bobg@box6 ~]$ su
              Password:
              [root@box6 bobg]#

So what are you really doing?

-- 
=======================================================================
Life is one long struggle in the dark. -- Titus Lucretius Carus
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux