Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Why asking for root password all the time

  1. #1

    Default Why asking for root password all the time

    Hi.
    Why am I being asked subsequently for the root password all the time when accessing yast for example although i had selected "Remember password" in the dialog box and selection is still confirmed in the dialog box ?
    Same for updating etc, prompting for password.

    OpenSUSE 11.3, KDE

  2. #2
    Join Date
    Aug 2009
    Location
    Mountain View, CA
    Posts
    204

    Default Re: Why asking for root password all the time

    su does not remember the password for long... By default kdesu (the launcher which launces all KDE GUI based applications requiring admin privileges) uses su....

    You can add your user to /etc/sudoers file for getting sudo permissions. Make sure you test sudo works

    One way is to make it use sudo instead of su by editing ~/.kde4/share/config/kdesurc and adding these lines:
    Code:
    [super-user-command]
    super-user-command=sudo

  3. #3

    Default Re: Why asking for root password all the time

    Thanks for reply but I don't have "kdesurc" in my directory.
    Closest I have is: "kdedrc".

    What to do next ?

  4. #4
    Join Date
    Aug 2009
    Location
    Mountain View, CA
    Posts
    204

    Default Re: Why asking for root password all the time

    You can create a new file named kdesurc in that directory and add those lines...

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,873

    Default Re: Why asking for root password all the time

    Also I can understand that you just installed 11.3 and thus are configuring, etc, normaly one does not use root that often. And that is as it should be.
    I do not know your background, but may be this is of interest to you: SDB:Login as root - openSUSE
    Henk van Velden

  6. #6

    Default Re: Why asking for root password all the time

    I am in Root/etc/kde4/share/config/
    and am getting an access denied prompt when creating that file (kdesurc).
    Same when moving kdesurc file created on desktop to Root/etc/kde4/share/config/

  7. #7

    Default Re: Why asking for root password all the time

    Quote Originally Posted by hcvv View Post
    Also I can understand that you just installed 11.3 and thus are configuring, etc, normaly one does not use root that often. And that is as it should be.
    I do not know your background, but may be this is of interest to you: SDB:Login as root - openSUSE
    Thanks for your info hcvv, I know that you are not supposed to be logged in all the time as root in Linux but I am new and am experimenting.
    If I log in as a regular user can I still install various software for myself or I have to install new software as supersuser (root) ?

  8. #8
    Join Date
    Aug 2009
    Location
    Mountain View, CA
    Posts
    204

    Default Re: Why asking for root password all the time

    Quote Originally Posted by Baghera View Post
    I am in Root/etc/kde4/share/config/
    and am getting an access denied prompt when creating that file (kdesurc).
    Same when moving kdesurc file created on desktop to Root/etc/kde4/share/config/
    I meant /home/<USERNAME>/.kde4/share/config/kdesurc

    ~ represents your HOME dir which is equivalent to /home/<USERNAME>


  9. #9

    Default Re: Why asking for root password all the time

    Quote Originally Posted by ash25 View Post
    I meant /home/<USERNAME>/.kde4/share/config/kdesurc

    ~ represents your HOME dir which is equivalent to /home/<USERNAME>

    What happens if it is done in: Root/etc/kde4/share/config/

    I don't have "/.kde4/share/config/kdesurc" in my "/home/<USERNAME>/" directory

  10. #10
    Join Date
    Aug 2009
    Location
    Mountain View, CA
    Posts
    204

    Default Re: Why asking for root password all the time

    It applies to all users and not just your user.... I wouldn't usually do this unless you have multiple users who require similar feature and you're gonna add more users in the future too...

    But as your error messages already indicate, that file would be editable only as root...

Page 1 of 3 123 LastLast

Posting Permissions

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