Find the answer to your Linux question:
Results 1 to 4 of 4
Is there a way to Disable XGL on just one user, or exclued the user from a XGL enable command? I created a "gaming" account and I don't want Beryl ...
  1. #1
    Linux Newbie dalinux_n00bie's Avatar
    Join Date
    Nov 2006
    Posts
    226

    disableing xgl for just 1 user

    Is there a way to Disable XGL on just one user, or exclued the user from a XGL enable command? I created a "gaming" account and I don't want Beryl on it so I can play some 3D games with out having to reboot every time. is there a way to do that?
    "Do or do not...there is no try" -Yoda
    History is a set of lies agreed upon by the winners.
    Linux is user friendly, not idiot friendly.
    Linux User 437442

  2. #2
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,789
    I can think of 2 ways... one would be to create a new group called "xgl" or similar, and assign the xgl executable to that group in permissions. Therefore if it's owned by rootgl and world doesn't have execute permissions, then only people in the xgl group or root can run the command. This way, you add all your users to the xgl group that you want to be able to run xgl.

    The alternative method would be to move the xgl executable to a folder somewhere that's not in the $PATH variable for the gaming user, but in the path for all the other users. Though this wont actually stop the gaming user from being able to do it, would just mean that the xgl executable would have to be called by it's full path rather than just running it.
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  3. #3
    Linux Newbie dalinux_n00bie's Avatar
    Join Date
    Nov 2006
    Posts
    226
    how do I do the $PATH way? What is that anyway?
    "Do or do not...there is no try" -Yoda
    History is a set of lies agreed upon by the winners.
    Linux is user friendly, not idiot friendly.
    Linux User 437442

  4. #4
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    $variables are "environmental" variables. In the case of $PATH this is the path on which Linux searches for a command. These environmental variables are normal set in an init file. There are several different Init scripts that could be used to change or add to the current $PATH variable.

    Here is a good place to start learning about Linux commands

    LinuxCommand.org: Learn the Linux command line. Write shell scripts.

Posting Permissions

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