Ubuntu Servers :: Disable Shutdown For Normal User?
Mar 12, 2010
for security reasons,I want to disable shutdown for normal user, but the post here does not help me. It is because when I open the /etc/X11/gdm/gdm.conf I just saw a blank file. I use the 9.10 version.
I am running Fedora 12 OS on my machine. I would like to disable the USB devices for normal users so that usb-storage devices cannot be plugged in. However at the same time a mouse or a keypad may/could have a usb connection. note that root should be able to use the usb storage devices. How can the same be done on fedora 12? I would prefer not to do it via the BIOS options.
how to export normal unix user to ldap I've unbuntu ldap server with some local users. I want to export all my local users to ldap database as a ldap users. Or if there is any configuration so that when ever a normal user is created then automatically an ldap user with the same name as the normal user will be created
I have installed ubuntu 11.04 on my HCL Me Laptop. The OS is not getting halted when I use the shut down or the restart menu from the GUI. It is not shutting down when used the commands 'sudo shut down now' or 'sudo poweroff now' or 'sudo halt now' or 'sudo init 0' also. Except when used the 'shut down' command, the command line hangs at:
init: plymouth-upstart-bridge main process (1981) terminated with status 1 checking for running unattended upgrades.
When used the 'shut down' command, the violet screen where the word ' ubuntu ' is written appears and hangs. I have updated my OS yesterday, but it is not fixing the problem. All the time I am using power button to have a forced shutdown. I loved the natty nerwhal.
I have a question that i want to make a normal user to execute the commands which the root user is able to execute, say if i have a user named siru and when i logged in using siru i cannot run commands like tracert,nmap@loccalhost and all but i can run when i have logged into root account so my question is how to make siru to run the command tracert,nmap@localhost.I have even edited the .bash_profile of siru's home directory from
# .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then
Recently upgraded from OpenSuse 11.1 to 11.2 and although it didn't go smoothly the first time (computer hung), I was able to complete the install and start. I have added and updated the required repositories.
The following problems persist: 1. I can't shutdown normally. The black screen before shutdown shows something on the lines of 'segmentation fault'...and also 'cannot find fstab or mtab'. I have to restart into Failsafe mode which shuts down properly. 2. Amarok keeps crashing. It used to work fine in 11.1 and I think its one of the best media players out there so I am wondering why. I do have other players and I have used the debugging reporter option for Amarok.
I recently installed FC13 on my Acer 2920 laptop. During normal routine work, the system shutdown unexpectedly without giving any message. This problem continues every time I boot fecdora.
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.
right now all of our users are able to log in to other user using su as root.Because root privilege is necessary for our work. we r using LDAP authentication(centralized)..
What we want to do to disable su usage to log in as other user?
Recently I noticed, that manpages are not available anymore for a normal user:
Code: $ man grep No manual entry for grep See 'man 7 undocumented' for help when manual pages are not available.With root privileges everything works fine
As I get reply from antoher forum is best there on Ubuntu is better to have 2 user accounts - one is admin and other is normal user for surfing, and other things. But there is problem. How can I install applications on this normal user account?
And,.. is option for installed applications (on normal user acc.) is no visible or installed on admin account?
- Can I .reg file for program which is running on Wine, use for a program that I need to change settings in "registry"?
Is there a way to configure hotkeys in Firefox, specifically to disable SHIFT/CTRL/W from shutting it down? I looked through the preferences, and about:config, but didn't find anything.
when I boot my pc with fedora 10, it displays the white cube, although i can rotate it but it does not seem to work i cant see any desktops. How can I switch back to the normal desktop view or disable compiz fusion ?
Is there some file I can alter on the Live CD image that will make Ubuntu not automatically eject the drive tray when I shut down from a live CD session?
[URL]
/etc/rc0.d/S89casper is a link though, so I just edited the file it points to (/etc/init.d/casper) -- seems to be working. I merge a modified "casper" at every boot, next time I build a Remastersys, I'll try to make it permanent.
Because I have a flaky wireless device, I occasionally get a hung connection and this script gets things running again in just a few seconds except obviously the boldfaced item, as it still tries to run in the root directory and gives errors:
Configuration file "/root/.kde/share/config/knetworkmanagerrc" not writable. Please contact your system administrator.
So I am not sure how to get knetworkmanager to run as me, the user ubuntu in the /home/ubuntu directory
#!/bin/bash service network-manager stop sleep 1 killall -9 knetworkmanager
Anyone had any issues with connection to LDAP server from evolution as a normal user, but if evolution is started as sudo/root it works fine. This is on 10.10
I want to disable Reboot and Shutdown options from the drop down menu in Ubuntu 9.10. I tried this:[URL] I also tried to modify the gdm.conf file, but the changes I made, made no difference.
Is there any way to use 'fdisk -l' as a normal user? I see in F12, /sbin has been added to PATH by default for a normal user, but when trying to use it, nothing shows up.
See below for demonstration purposes:
Code:
Password:
I don't want to use 'su -' or 'su -c' and login every time.
I just want to be able to access and modify the files on my usb drive as a normal user. The mount command works perfectly as root but then the files that I end up copying to my home folder can only be modified as root. I only use a window manager and use just bash for file management. I just want to be able to it through the command line.
I would like to be able to suspend to disk or Ram from the command line. I can do it with the package 'hibernate' which works well, but it needs to be run as root:
Code:
Do you know if there is any way that I can make this script run by normal users?
I am using a minimal version of 9.04 with openbox.
I'm trying to get my backup script to run every week, but as a normal user, and not as root as it is done when the script is placed in /etc/cron.weekly. Anacron fits my needs in the sense that it doesn't require my computer to always be on, as opposed to cron, and will just run my script when it can, but at the most each week. Cron fits my needs in the sense that I can run the script as the user I am logged in as. The particular script backs up my home directory with rdiff-backup, and it is very convenient that I am the owner of that backup, since when root performs the backup, I am unable to browse my own backup files and must use "sudo" to do this.
Is there a way to let me use the feature of anacron that allows my computer to not always be on, but still get a weekly execution, and also run the script as a normal (non-root) user?
i want to remove shutdown/restart/hibernate buttons from my gdm login screen on ubuntu 10.10. if i disable these buttons with ubuntu tweak or gdm2setup it is just ignored and all buttons are still there.
how i am auto mount the ntfs drives through the normal user with out asking password... I need it and also one thing is i want two drives only auto mount and when i open the other drives it should ask the password?...