Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32

Thread: Starting a shell with sudo works different in openSUSE?

  1. #11

    Default Re: Starting a shell with sudo works different in openSUSE?

    Quote Originally Posted by arvidjaar View Post
    There is also set_home with is enabled by default in openSUSE build:
    Code:
    --enable-shell-sets-home
    It can be considered minor bug (documentation claims default is off), so you may consider opening bug report.
    Thank you so much! Thankfully just a a documentation error, but I will look into making a bug report to save anyone else running into the same.

  2. #12

    Default Re: Starting a shell with sudo works different in openSUSE?

    Quote Originally Posted by DenverD View Post
    hint: when you ask a question and get an answer, do more listening
    and less instructing.
    I accept in hindsight I badly phrased my post but that type of attitude is completely uncalled for. Obviously I was not claiming su is a different command from itself, but meant that using either su or su - as suggested was not the answer to my question because su is a different command to sudo. Given both the context of the answers I was replying to, my explanation of how the two differed, and that anyone with enough knowledge to even be asking the question would know the difference between a command and an option you could have inferred what I meant.

    I guess I will have second thoughts about coming back here for advice in future.

    Quote Originally Posted by DenverD View Post
    first: of course a default install of openSUSE includes man pages, if
    yours does not i think that is evidence you have a broken
    install...where did you get your install media, and did you check its
    md5sum??
    Code:
    $ md5sum openSUSE-12.3-NET-x86_64.iso 
    0ef3c2f301b05f52e9c98cff3f799744  openSUSE-12.3-NET-x86_64.iso
    Going to http://download.opensuse.org/distrib...x86_64.iso.md5 gives
    0ef3c2f301b05f52e9c98cff3f799744 openSUSE-12.3-NET-x86_64.iso

    Code:
    $ sudo find / -xdev -name man -print
    /usr/share/man
    /usr/local/man
    There are man pages, there is no /bin/man hence my surprise and confusion.

  3. #13
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Starting a shell with sudo works different in openSUSE?

    On 2013-06-05 01:06, aperantos wrote:
    >
    > DenverD;2562654 Wrote:
    >> hint: when you ask a question and get an answer, do more listening
    >> and less instructing.

    >
    > I accept in hindsight I badly phrased my post but that type of attitude
    > is completely uncalled for. Obviously I was not claiming su is a
    > different command from itself, but meant that using either su or su - as
    > suggested was not the answer to my question because su is a different
    > command to sudo. Given both the context of the answers I was replying
    > to, my explanation of how the two differed, and that anyone with enough
    > knowledge to even be asking the question would know the difference
    > between a command and an option you could have inferred what I meant.



    Both su and sudo in openSUSE require you to use root's password - unless
    you change the config, which few people do (I do).

    > I guess I will have second thoughts about coming back here for advice
    > in future.


    Why? We are very friendly, despite the appearances. :-)


    > Code:
    > --------------------
    > $ sudo find / -xdev -name man -print
    > /usr/share/man
    > /usr/local/man
    > --------------------
    >
    >
    > There are man pages, there is no /bin/man hence my surprise and
    > confusion.


    Code:
    cer@Telcontar:~> which man
    /usr/bin/man
    cer@Telcontar:~> l /usr/bin/man
    -rwxr-xr-x 2 root root 10704 Oct 29  2011 /usr/bin/man*
    cer@Telcontar:~> rpm -qfv /usr/bin/man
    man-2.5.2-37.1.2.x86_64
    cer@Telcontar:~>
    cer@Telcontar:~> rpm -V man
    cer@Telcontar:~>

    If other distributions choose /bin, that doesn't mean we have to do the
    same ;-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  4. #14
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Starting a shell with sudo works different in openSUSE?

    On 2013-06-05 00:46, aperantos wrote:

    > Thank you so much! Thankfully just a a documentation error, but I will
    > look into making a bug report to save anyone else running into the same.


    openSUSE:Submitting bug
    reports



    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  5. #15

    Default Re: Starting a shell with sudo works different in openSUSE?

    Quote Originally Posted by robin_listas View Post
    If other distributions choose /bin, that doesn't mean we have to do thesame ;-)
    Unfortunately, as the find output I posted shows, I have no /usr/bin/man, nor anything else called man other than the local and share directories for the pages. My install was the server option (no X11) from the installer, incidentally. But as I can install it manually it is not a problem, just rather strange.

  6. #16
    Join Date
    Sep 2012
    Posts
    5,230

    Default Re: Starting a shell with sudo works different in openSUSE?

    Quote Originally Posted by aperantos View Post
    I have no /usr/bin/man, nor anything else called man other than the local and share directories for the pages. My install was the server option (no X11) from the installer
    Yes, minimal text install does not include man command.

  7. #17
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Starting a shell with sudo works different in openSUSE?

    On 2013-06-05 13:26, arvidjaar wrote:
    >
    > aperantos;2562771 Wrote:
    >> I have no /usr/bin/man, nor anything else called man other than the
    >> local and share directories for the pages. My install was the server
    >> option (no X11) from the installer

    >
    > Yes, minimal text install does not include man command.


    Oh.

    And there is not a fully featured text install?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  8. #18
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Starting a shell with sudo works different in openSUSE?

    On 06/05/2013 11:16 AM, aperantos wrote:
    > My install was the server option (no X11) from the installer, incidentally.


    first you said it was a default install..

    GIGO

    --
    dd


  9. #19
    Join Date
    Sep 2012
    Posts
    5,230

    Default Re: Starting a shell with sudo works different in openSUSE?

    Quote Originally Posted by robin_listas View Post
    And there is not a fully featured text install?
    That depends on definition of "fully featured". Although having man pages without possibility to display them looks weird indeed (Mandriva offered possibility to omit all documentation including man pages for truly minimal install IIRC).

  10. #20
    Join Date
    Sep 2012
    Posts
    5,230

    Default Re: Starting a shell with sudo works different in openSUSE?

    Quote Originally Posted by DenverD View Post
    On 06/05/2013 11:16 AM, aperantos wrote:
    > My install was the server option (no X11) from the installer, incidentally.


    first you said it was a default install..

    GIGO

    --
    dd
    Define "default".

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •