Results 1 to 10 of 10

Thread: application should prompt for password

  1. #1
    Join Date
    Oct 2012
    Location
    India
    Posts
    332

    Default application should prompt for password

    Hi guys I am using OpenSUSE 12.3 with XFCE and my issue is I don't want my users to change settings like display resolution,keyboard settings etc.So when ever my user tries to change the settings it should prompt for root password like the "add printer wizard asks for root password".Is there a way to do that.


    Thanks in advance.

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

    Default Re: application should prompt for password

    On 2013-05-24 13:06, nishanth9042 wrote:
    >
    > Hi guys I am using OpenSUSE 12.3 with XFCE and my issue is I don't want
    > my users to change settings like display resolution,keyboard settings
    > etc.So when ever my user tries to change the settings it should prompt
    > for root password like the "add printer wizard asks for root
    > password".Is there a way to do that.


    Maybe choosing “secure settings” in yast. But these things you ask are
    considered that the users should be able to change, each user a
    different setting if they want.

    --
    Cheers / Saludos,

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

  3. #3
    Join Date
    Oct 2012
    Location
    India
    Posts
    332

    Default Re: application should prompt for password

    I didn't find any such option like "secure settings" to do that.Can you please elaborate.

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

    Default Re: application should prompt for password

    On 2013-05-24 14:06, nishanth9042 wrote:
    >
    > I didn't find any such option like "secure settings" to do that.Can you
    > please elaborate.
    >
    >


    YaST --> Security --> Security center.

    Then, in "Miscellaneous settings" you have the main setting: easy,
    secure, paranoid.

    --
    Cheers / Saludos,

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

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,378

    Default Re: application should prompt for password

    Quote Originally Posted by nishanth9042 View Post
    Hi guys I am using OpenSUSE 12.3 with XFCE and my issue is I don't want my users to change settings like display resolution,keyboard settings etc.So when ever my user tries to change the settings it should prompt for root password like the "add printer wizard asks for root password".Is there a way to do that.


    Thanks in advance.
    Your comparison with system tasks that can only be done using root is incorrect. What you are talking about are user settings (as said above) and as such they are in the user's domain (inside his home directory). I do not know where they are in XFCE (in KDE they are in .kde4). But taking the analogy, you could (as root) change the ownership of a user's .kde to another user (sepcialy created for this purpose) and then remove the w permission bits from all in there for others then the (new) user. That would make it impossible for the original user to write anything there, thus (s)he will be unable to change the personal KDE configuration. But take care, it would also make impossible a lot of other KDE features, like storing there the status of KDE programs at stopping for such programs to be re-used at a new start of that program. Thus I would test this extensively before going into production.
    Henk van Velden

  6. #6
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: application should prompt for password

    why do you want display resolution,keyboard settings change at a super user level ?
    They are features of the DE(KDE,GNOM,XFCE etc...)
    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

  7. #7
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: application should prompt for password

    Just wondering, are all of these users in the same account? Linux is for multiple users, each with their own account. The settings you mention are applied separately for each user account. Why do you need to restrict these settings?

  8. #8
    Join Date
    Oct 2012
    Location
    India
    Posts
    332

    Default Re: application should prompt for password

    i don't want my users to change the settings like changing ip address,screen resolution which is not allowed in our institution.

  9. #9
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: application should prompt for password

    Quote Originally Posted by nishanth9042 View Post
    i don't want my users to change the settings like changing ip address,screen resolution which is not allowed in our institution.
    change from network manager to ifup if you don't want anyone to change ip address.
    You should probably try out what robin_listas said
    YaST --> Security --> Security center.

    Then, in "Miscellaneous settings" you have the main setting: easy,
    secure, paranoid.
    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

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

    Default Re: application should prompt for password

    On 2013-05-25 06:36, nishanth9042 wrote:
    >
    > i don't want my users to change the settings like changing ip
    > address,screen resolution which is not allowed in our institution.


    Network is a system administrator setting, so users can not change it -
    as long as you configure in yast traditional networking, not network
    manager.

    Resolution, on the other hand, is a user setting, each user chooses the
    resolution they prefer. To forbid it you need to change things somewhere
    and fight the system.

    Your institution can mandate what they want, but it is not up to them to
    choose what the developers provide.

    --
    Cheers / Saludos,

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

Posting Permissions

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