Alex Stark
21 years ago
Hello, Gentoo users! :)
One more newbie wants to hear your advise :)
I got the question that seems not to be covered well by official docs.
When I want to shutdown my Gentoo box, I had to:
# su
# poweroff
Then, I emerged sudo and now I successfully do:
$ sudo /usr/sbin/poweroff
(I can't just write $sudo poweroff - the path to /usr/sbin is not set
for users)
The questions are:
0) How to add the /usr/sbin to PATH for all non-roots correctly?
1) Do I do everything right?
2) How can I allow to poweroff to anyone not using sudo?
(I found that it is default behavior in Mandrake to allow poweroff to
any user and... it seemed convenient to me)
3) Are any security flaws if I do allow to reboot the box to anyone?
(It is not server - "the others" is actually dear wife who is more new
to linux than me)
4) May be it would be great to write a how-to addition for desktop
users - "The true way to shut down the Gentoo box"
One more newbie wants to hear your advise :)
I got the question that seems not to be covered well by official docs.
When I want to shutdown my Gentoo box, I had to:
# su
# poweroff
Then, I emerged sudo and now I successfully do:
$ sudo /usr/sbin/poweroff
(I can't just write $sudo poweroff - the path to /usr/sbin is not set
for users)
The questions are:
0) How to add the /usr/sbin to PATH for all non-roots correctly?
1) Do I do everything right?
2) How can I allow to poweroff to anyone not using sudo?
(I found that it is default behavior in Mandrake to allow poweroff to
any user and... it seemed convenient to me)
3) Are any security flaws if I do allow to reboot the box to anyone?
(It is not server - "the others" is actually dear wife who is more new
to linux than me)
4) May be it would be great to write a how-to addition for desktop
users - "The true way to shut down the Gentoo box"
--
WBR,
Alex Stark
--
gentoo-***@gentoo.org mailing list
WBR,
Alex Stark
--
gentoo-***@gentoo.org mailing list