Slackware :: How To Allow Regular Users To Shutdown?
Mar 10, 2010
My home computer is (of course) a multi-user system with my wife and I each having separate non-root accounts. Usually at the end of the day I exit X, drop down to the terminal, su to root and type
Code:
shutdown -h now
to turn the computer off for the night.
However, my wife doesn't know (or care to know) the root password, but she would like to be able to shutdown the computer.I tried making a /etc/shutdown.allow file, and typing
Code:
/sbin/shutdown -a -h now from her account, but it didn't work. I got an error that one has to be root to do that.
So, how do I allow regular users to shutdown?
View 14 Replies
ADVERTISEMENT
Dec 22, 2010
I am moving a webserver from a Gutsy to Lucid server. The webserver works fine, but I am having a problem with the users. I moved the home directories, along with passwd, group, shadow, and gshadow. The users can login fine, and their home directories are fine. The problem is when they try to logout, they get
$logout
-sh: logout: not found
View 4 Replies
View Related
Jun 17, 2009
I had this all hashed out in previous versions of Fedora, but since I have moved the Mrs over to F10 this problem has come to the surface yet again.The Mrs is a strait user. She does not do command line and there is not a chance in a hot place that I could convince her to do it. Now we have her on the F10 system and we, once again, can't get her to have the right Kung Fu to be able to moun/unmount the floppy drive using the computer icon on the Gnome desktop.
What has changed and how do I get this function back for her? She uses this for business files, so this is somewhat on the urgent side.
View 14 Replies
View Related
May 28, 2011
What I'm trying to do is to grant my regular user to locally mount partitions and shutdown the machine without a password. Here is what I've done to /etc/sudoers:
Code:
Host_Alias LOCAL = localhost
Cmnd_Alias SHUTDOWN = /sbin/shutdown
Cmnd_Alias MOUNT = /bin/mount, /bin/umount
<my_username> LOCAL=(root) NOPASSWD: SHUTDOWN, MOUNT
%wheel ALL=(ALL) ALL
My user is a member of wheel group and I want to type the password for each sudo command except for shutdown and mount. However I am asked for a password whenever I execute "sudo mount [...]" or "sudo shutdown [...]".
View 4 Replies
View Related
Mar 10, 2011
I've set up a user account for friends & colleagues that does NOT require a login password. Unfortunately, in this OS some things don't work unless you login -- sudo Must regular users have AND use Root's password?
View 9 Replies
View Related
Apr 6, 2010
I installed a few media servers to stream something to my PS3 over the weekend, but now when trying to shutdown the computer, I'm asked to authenticate with a password since other users are still logged in. I installed quite a few programs over the weekend trying to get it to work, so I can't remove a specific one. Is there a way to see which daemons are logged in under a different session? Found it. It turned out to be mythtv.
View 3 Replies
View Related
Dec 30, 2010
If there is a simple way to prevent accidental shutdown when the following situation occurs:
Sometimes, I log in on my father's computer to run some administrations' tasks (updates...). For that, I use SSH since I'm frequently far from my parents and what I want is to prevent a shutdown run by my father. Of course, he should be able to turn off by himself if nobody else is connected.
Molly-Guard allows to prevent distant shutdown, my request is a kind of complementary software.
Does anyone know a project which could fit with this request? Do you have simple ideas to write a short code I know bash, perl, python...
View 3 Replies
View Related
Nov 5, 2010
I have set up the sodoers file to allow everyone in "group1" full sudo permissions without needing to enter their password.
Is there any way to allow users to perform everything except the shutdown command?
View 5 Replies
View Related
Aug 12, 2010
If I start tint2 as root it works, if I try as spoovy, it segfaults.
Code:
bash-4.1$ tint2
real transparency off.... depth: 24
xRandr: Found crtc's: 2
xRandr: Linking output LVDS with crtc 1
[Code]...
View 2 Replies
View Related
Apr 21, 2011
When I'm logged into my account, I can't shut down the computer if someone else is also logged in unless I supply the root password. However, if I log out, I can shut down from GDM without being challenged, even though another person is logged in, which could cause problems if that person is in the middle of some work. Is there a way to password-protect the gdm shutdown function if people are logged in?
View 2 Replies
View Related
Sep 9, 2010
My cli php is missing modules as regular user but not as root. In particular, mysql is missing... which is how I came across this issue. I'm running Slack 12.2 w/ php 5.2.14, standard Slack packages. As a normal unprivileged user:
-> whoami ; php -v ; php -m |wc -l ; php -m |grep mysql
jerry
PHP 5.2.14 (cli) (built: Aug 25 2010 15:17:31)
Copyright (c) 1997-2010 The PHP Group
[code]....
I've tried reinstalling php and it made no difference. php.ini is not to blame. I've Google'd this to death, no luck.
View 7 Replies
View Related
Jun 11, 2011
I have done 3 clean installs for this problem and it remains, i don't want to do it from the terminal..(Buttons exists but they won't work...)
View 3 Replies
View Related
Sep 9, 2009
i am using fedora 7. i want that, users other than root should not be able to shutdown the system, i had already changed the mode of /sbin/shutdown to -rwxr-w--(750)
View 1 Replies
View Related
Dec 23, 2010
as a normal user when I click logout from a KDE session nothing happens and I can't re-launch logout again, shutdown is doing the same.I have just upgraded to fc14 from fc13 yesterday tried to delete .kde folder and it has not been succesful tried to create another user and log to kde session and the new user also failed to logout or shutdown Root user is able to logout and shutdown I have no probs on GNOME for root or users.
View 1 Replies
View Related
Sep 9, 2009
i am using fedora 7. i want that, users other than root should not be able to shutdown the system, i had already changed the mode of /sbin/shutdown to -rwxr-w--(750)
View 5 Replies
View Related
Oct 29, 2009
How can I get a LUKS encrypted partition on an external USB device automounted with r/w access for non-privileged users?
Background:
I just reformatted an external USB device with ext4. The only partition is LUKS encrypted. Now, when I plug the device to my computer, KDE notifies me and asks me to enter the LUKS passphrase. Then it mounts the device. Little snag here: Non-privileged users have read-only access.
My user is a member of group plugdev, but not of group disk, as this was discouraged several times, e. g. by Robby Workman. With non-encrypted disks regular users have read/write access, or can change the filemodes accordingly, as far as I recall (currently I have no more non-encrypted disks left to verify it...)
View 11 Replies
View Related
Jun 29, 2011
I can read and write data dvds, but cannot play a regular dvd now. I have libdvdcss installed. I am running Slackware 64 13.37 (just installed).
Code:
MPlayer 20101218-4.5.1 (C) 2000-2010 MPlayer Team
Playing dvd://.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
[Code]...
It can see the drive is there and /dev/sr0 is linked to /dev/dvd and I tried running as root to check if it was a permissions problem but got the same thing.
I have tried lots of different DVDs in the drive, same issue. I even switched out my DVD drive to another old DVD-ROM I had laying around, same thing.
View 14 Replies
View Related
Oct 20, 2010
Does anyone have a permanent fix for not being able to use USB devices in VirtualBox as a regular user?
View 11 Replies
View Related
Mar 26, 2011
I have 13.1 on its own drive and works fine. I installed virtualbox in 64b windoz on a different drive with the same computer so I can play with all the different linux systems. Around 6 weeks ago I installed slack current from alien bobs mirror with no problems. An update a week ago? and kde would not work. KDE failsafe and all other desktops work fine.
View 5 Replies
View Related
Apr 18, 2011
Using the most recent -current/13.37, I'm curious if there is a New Right Way to suspend as a regular user from the command line, now that we've got PolicyKit/ConsoleKit running the show. I've seen some things (e.g., on the Archlinux wiki) that seem to come close, but require UPower. For some reason I can't wrap my head around the PolicyKit documentation well enough to figure this out.
My old solution was to add a line to /etc/sudoers giving anyone in the power group access to pm-suspend, pm-hibernate, and shutdown, and this is probably what I'll end up doing with 13.37.
View 8 Replies
View Related
Nov 4, 2010
I have a problem where the resolution during bootup, shutdown, switching users, and the theme icons look very grainy & cheap. It might have started when I booted in failsafe graphics mode and after that, it never went away. Could be wrong about how it happened but is there a way to get out of failsafe mode? Or a way to reconfigure default, normal graphics?
View 9 Replies
View Related
Apr 18, 2011
I've install Slackware 13.1 and i cannot shutdown my PC. The shut down process stop while trying to run PCMCIA module.
This is the first time that happens.
From Hardware point of view , i didn't do anything at all (if that helps).
View 5 Replies
View Related
Jul 20, 2011
I just recently installed slackware 13.37 as a fresh install. In firefox, I currently only have the flashplayer plugin installed, no themes, no other add-ons. Firefox will open fine the first time, however after I close it and try to open it again, I get a message saying that firefox is already running and the process must be closed before another session can be opened. Looking through the open processes, firefox-bin still shows open. I can kill -9 firefox-bin and restart firefox, but then I have the same problem after close. I have deleted my .mozilla folder, which did not help and I have deleted the libflashplayer.
View 13 Replies
View Related
Mar 7, 2010
Using slack 13 this started happening after my last 'upgrade-all' with slackpkg where I think it updated ssl and sea monkey. When I shutdown (fluxbox) it hangs at "starting up x11 manager" I have to ctrl alt del to get it moving again.
View 3 Replies
View Related
Mar 18, 2011
OS = Slackware 13.1
I'm normally a KDE user but tried xfce4 and found that it works nicely. I wanted to switch to it for a while. I did find one particular problem: When you try and end the session, you can Log Out but can not Restart or Shutdown. If you click on Restart or Shutdown it asks for password Even after entering a valid password, it will not allow the action.
(I tried user and root's passwords.) It says "Please enter your password." After entering the password it says, "Either the password you entered is invalid, or the system administrator disallows shutting down this computer with your user account." (Before you ask; my user is in power group.)
I tinkered with it for a while and decided it must have something to do with KDM and so I switched my default runlevel to 3 and started xfce4 [via startx] and it worked as expected. Next I tried using xdm instead of kdm and YES, it works as expected. I was able to Restart or Shutdown (no asking for password, it just does it.) What is it about KDM that does not allow xfce4 to restart or shutdown?
View 5 Replies
View Related
Jan 4, 2010
Basically what is happening is i installed slackware 13 and then madwifi following these instructions [URL] and it works great, then i shutdown or restart and when i come back to linux i dont have the internet anymore. This happened twice already and i dont know how to fix it. by the way i have 2 hard drives, one with windows xp and one with linux. i dont think this would affect anything but i put it just in case.
i will try to install it again from scratch following those instructions exactly because i just went to the configure and make part, i will take the post down if it works after that but if this is up then it didnt work. i know i didnt provide any info on things like the output of iwconfig or the model of my network card (atheros something) but all i can say right now is that i use the latest version of madwifi, 0.9.4, the fixed one that works for the latest models of atheros.
View 2 Replies
View Related
May 4, 2011
Running 13.37. If I am in xfce, I have the option to shutdown or restart in addition to log off. In KDE I don't. how to get them to show up.
View 5 Replies
View Related
Mar 25, 2011
I've got a minor problem with my GPU: I replaced the OEM GeForce 6200 with a 9600 GT, but I believe the shutdown temperature is still set to the 6200's; causing annoyance with graphically intensive programs/games. It was a fairly small card, and has a low shutdown temp. BIOS revealed no settings, is there a setting for this in slack?
View 3 Replies
View Related
Nov 9, 2010
I just realized that my /tmp directory is not being cleared at shutdown time. How to enable this? I'm running -current.
View 8 Replies
View Related
May 10, 2011
I'm using Slackware 13.1 on my laptop, and sometime ago it make some beeps on shutdown, and when I don't find any word on a page on Firefox(using the find tool on Firefox).
View 2 Replies
View Related