vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Please, instruct how to set the specific user to allow her/him to switch to the specific runlevel... I would like to allow some chosen user to switch the system to the "multimedia mode" if needed (sound + USB etc.) while on the everyday basis it is not needed... -- S |
| |||
| On Fri, 30 Sep 2005 18:19:15 +0200, S wrote: > Please, instruct how to set the specific user to allow her/him to switch to > the specific runlevel... > > I would like to allow some chosen user to switch the system to the > "multimedia mode" if needed (sound + USB etc.) while on the everyday basis > it is not needed... Check out sudo |
| |||
| S <s7s@imagine.op.pl> writes: >Please, instruct how to set the specific user to allow her/him to switch to >the specific runlevel... >I would like to allow some chosen user to switch the system to the >"multimedia mode" if needed (sound + USB etc.) while on the everyday basis >it is not needed... ????????? There IS no "Multimedia" mode. If you mean X, just have the user do startx after he has logged on. (I assume you have runlevel 3 now). And runlevel 3 has usb, sound, etc. already. (I am assuming that gentoo uses the same level naming as redhat/mandrake) >-- >S |
| |||
| Unruh wrote: > S <s7s@imagine.op.pl> writes: > >>Please, instruct how to set the specific user to allow her/him to switch >>to the specific runlevel... > >>I would like to allow some chosen user to switch the system to the >>"multimedia mode" if needed (sound + USB etc.) while on the everyday basis >>it is not needed... > > ????????? There IS no "Multimedia" mode. If you mean X, just have > the user do > startx > after he has logged on. (I assume you have runlevel 3 now). > And runlevel 3 has usb, sound, etc. already. > (I am assuming that gentoo uses the same level naming as redhat/mandrake) > > > >>-- >>S On gentoo it is possible to define custom runlevels, for functionality not needed in a default environment. |
| |||
| On Fri, 30 Sep 2005 18:19:15 +0200, S wrote: > Please, instruct how to set the specific user to allow her/him to switch to > the specific runlevel... > > I would like to allow some chosen user to switch the system to the > "multimedia mode" if needed (sound + USB etc.) while on the everyday basis > it is not needed... sudo |
| |||
| ray wrote: > sudo do you mean something specific/deeper? ....because I forgot to mention I do not want this specific user to know the root password under *any* circumstances (or even to be in the 'sudoers') the user in question is *untrusted* - but I would like to let him/her change a runlevel to the specific one on demand - for instance by clicking a desktop icon or anything like executing 'reboot' command... -- S |
| |||
| On Sat, 01 Oct 2005 01:33:55 +0200, S wrote: > ray wrote: >> sudo > > do you mean something specific/deeper? > > ...because I forgot to mention I do not want this specific user to know the > root password under *any* circumstances (or even to be in the 'sudoers') > > the user in question is *untrusted* - but I would like to let him/her change > a runlevel to the specific one on demand - for instance by clicking a > desktop icon or anything like executing 'reboot' command... sudo does not require knowledge of the root password, only the user's own password (and even that is optional). Since sudo spells out which commands can execute what would the issue be with them being able to execute one and only one command? If you can't trust a user to be able to execute only the command you specify, with only the arguements you specify (IIRC) via sudo then you're going to be hard up to find a better solution. |
| |||
| On Sat, 01 Oct 2005 01:33:55 +0200, S wrote: > ray wrote: >> sudo > > do you mean something specific/deeper? > > ...because I forgot to mention I do not want this specific user to know the > root password under *any* circumstances (or even to be in the 'sudoers') The entire concept of sudo is to allow users to perform certain actions (i.e. run specific programs) by verifying that they are themselves - i.e. the verification is their own password. > > the user in question is *untrusted* - but I would like to let him/her change > a runlevel to the specific one on demand - for instance by clicking a > desktop icon or anything like executing 'reboot' command... You can specify, in sudo, exactly which programs you want a person to be able to run as root. |
| |||
| Unruh wrote: > There IS no "Multimedia" mode. If you mean X, just have the user do > startx after he has logged on. (I assume you have runlevel 3 now). > And runlevel 3 has usb, sound, etc. already. (I am assuming that > gentoo uses the same level naming as redhat/mandrake) You assume incorrectly. Gentoo uses an init system that's different, and IMHO much better, than just about every other one in use today. For more information: http://www.gentoo.org/doc/en/handboo...?part=2&chap=4 Or better yet, install Gentoo and try it out ... :-) -- PeKaJe One thing about the past. It's likely to last. -- Ogden Nash |
| ||||
| Peter Jensen <usenet@pekajemaps.homeip.net> writes: >Unruh wrote: >> There IS no "Multimedia" mode. If you mean X, just have the user do >> startx after he has logged on. (I assume you have runlevel 3 now). >> And runlevel 3 has usb, sound, etc. already. (I am assuming that >> gentoo uses the same level naming as redhat/mandrake) >You assume incorrectly. Gentoo uses an init system that's different, >and IMHO much better, than just about every other one in use today. For >more information: Well, it certainly is much more complicated. I does offer more control, but some that would be of use to maybe 1% of the people who use gentoo. But we still do not know what in the world the person who asked wants to do. It still sounds to me like he is confused as to how X works, and that the user can simply run startx to start X. >http://www.gentoo.org/doc/en/handboo...?part=2&chap=4 >Or better yet, install Gentoo and try it out ... :-) >-- >PeKaJe >One thing about the past. It's likely to last. > -- Ogden Nash |