CentOS 5 :: Allow One User To Reboot System Only?
Sep 8, 2011
I was wondering if anyone knew how to add a user/pass and allow them to issue the reboot command. Ideally, I dont want them to be able to see files/directories or anything else for that matter.I was thinking something along the lines of a chroot jail that has a single script that would call the reboot.
View 2 Replies
ADVERTISEMENT
Mar 17, 2010
I am an old days RH release user(from 6.x) and just switching back from Debian/Ubuntu to CentOS on some servers, but I can not understand the kernel update strategy currently enabled in CentOS.There are two boxes, with almost identical installation, but recently there was an auto update of kernel on one box. This auto update also seems to issue an auto reboot on the machine, which is unacceptable on server machines.
View 2 Replies
View Related
Mar 31, 2009
Centos 5.3 includes Ext4 and improved support for encrypted file systems but it appears to be aimed at laptop/desktop systems, in that a password must be entered at boot time.
Is it possible to have a server with an encrypted root file system boot up without entering a password?
Mandos will do it...
http://wiki.fukt.bsnet.se/wiki/Mandos
...by serving up the password from another server...
http://packages.debian.org/squeeze/mandos
...to a client loaded into the initial RAM disk environment...
http://packages.debian.org/squeeze/mandos-client
...but it's not available on CentOS, and is only in Debian unstable.
Is there a similar (or any) solution for CentOS?
In particular, I'm envisaging encrypted virtual machines being served passwords from their virtual host.
Alternatively, the data that *really* needs to be protected could be encrypted while the system core remains unencrypted. But then the keys to decrypt the file system must be stored in the unencrypted portion, so this is not an effective method.
View 3 Replies
View Related
Sep 23, 2009
I am using CentOS 5.3. output of "uname -a" Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Jun 10 18:49:47 EDT 2008 i686 i686 i386 GNU/Linux
My kernal version is kernel-2.6.18-92.el5
Whenver i try to copy files from my centos to pendrive ( 2gb, kingston datatraveller) my system is gettin hanged leaving no option then to reboot. i tried from the terminal also, and as a diffrent user also. but same results. sometimes i can copy files of small size. but when i go above 5 mb..system hangs..
View 1 Replies
View Related
Aug 6, 2009
I've been trying to add a user to the system, so I can use it through samba to access the shares on the server. I'm using "useradd" but the command is not found... with a little search, I was able to find the command "/usr/sbin/useradd username" my question is can someone point me to a guide with basic administration task, I was checking out the wiki on Centos, but didn't find "adding user"; I know Centos has a gui for this, but I would like to stick to shell commands. By the way why some commands are only access through /sbin and others /usr/sbin. I know this probably has to do with your path, but how can I fix this so I don't have to type the whole path every time.
View 1 Replies
View Related
Jan 6, 2010
when a remove a user from the system using the domain userdel guest the user gets removed but the /home/guest doesn't get removed so i remove it by command rm -rf /home/guest then i recreate the user by giving in the command useradd guest now it gives the error mailbox file already exists what does it mean when it says so though this command creates the user.
View 3 Replies
View Related
Mar 30, 2010
How come you can shut down or reboot from the gui w/o needing root privelages, but if I enter "shutdown -h now" on the command line I am met with "shutdown: Need to be root".
Also- somewhat unrelated to my first question- I recall when I first started Ubuntu-ing, if I wanted to shut down or reboot while another user was logged in, I'd need to enter my password- but it doesn't do that anymore. Two users can be logged in with multiple applications open, and if I reboot or shutdown, it just goes for it? (using 9.04, for now...)
View 2 Replies
View Related
Jun 25, 2010
In OpenSuse 11.2 is there anyway I can get a desktop icon/launcher to do a /sbin/reboot, which would bypass the login screen coming up before powering off and on again without having to give the user the root password?
View 2 Replies
View Related
May 15, 2010
i searched the forum about this subject, i found many post but nothing useful. i also wonder why a normal user is not prompted to authenticate as root to perform these tasks. i thought the file /etc/sudoers but i don't think this is the point. i tried the group "shutdown" but does not exist. i read that this is expected in ubuntu server so it should exist even in the desktop version, i guess.
View 3 Replies
View Related
Sep 28, 2010
What is the difference between creating a "regular" user and creating a "system" user on Linux?
For example:
Code:
adduser john
Code:
adduser --system john
Similarly it seems there are normal groups and system groups. Doing an internet search and reading man pages does not give much information on the whole concept of system and regular user/group.
View 1 Replies
View Related
Dec 9, 2009
use fedora system, and installed fedora 12 on my usb disk by live-usb creator.Now, the problem is everytime i reboot the computer, the user data and software i installed will disappear.When installing, i choose persistent space which is described for user data and software, but it seems not work now.What can i do if i want my fedora on usb disk is just like the system installed on hard disk
View 1 Replies
View Related
Sep 17, 2009
how to assign shutdown and reboot privileges to the user.please tell directory hierarchy privileges for /root,/bin./lib,/tmp,/var,/pro etc ...
And also i would like to give space quota to particular user and directory for users.
View 4 Replies
View Related
Oct 27, 2009
I windows xp. I install vmware on it and install centos 5. Now how to use internet in centos 5 using user name and password. Our internet provider give us user name and password.
View 1 Replies
View Related
Apr 14, 2011
I'm niomi and I'm the first account with sudo. I add an account, bob. niomi can get in reliably on active mode. (maybe relevant?: passive doesn't work) bob is jailed to his home directory, niomi is in ftp-special which gives her access to /. bob can't log in and his shell is set to bin/false. What could have gone wrong?
View 3 Replies
View Related
Jun 4, 2010
How to find, what are the files (system & user) created after login to the system in RHEL 5.0?
Any single command available?
View 1 Replies
View Related
Sep 26, 2010
I often get responses from people who first say: "Are you sure? You want your network to be exposed to the outside world?" I am not experimenting on a Production Server of NASA or any Security Concern Department. Friends, there is no harm in experimenting on your personal computer or on a test computer which is isolated from the production environment. Look at hackers! What do they do? If they don't know how security is breached then how would they come up with security measures?
If my question reads... "How to let any user perform Administrative Tasks on a Linux System irrespective of his/her privileges on that particular system?" then I would not get the right answers in the first place. They will say... "You are letting everyone destroy your system... are you sure you want to do that?" My question is: Why should we restrict ourselves from experimenting even if it sounds weird to other people?
I give you an example where it is desirable to let an unprivileged user perform certain tasks. You want to know if there are any employees in your office who are storing videos in their home directory and filling up the disk space to a great amount. You have a department called "Command Center or Data Center Operations or Help Desk" call it whatever you would, whose work is to monitor such activities, and you create an account "monitor" for them to monitor such activities but they are not able to do them:
[Code]..
View 8 Replies
View Related
May 8, 2010
I use Fedora12 AMD 64 and use Gnome and use K3B for write CD and DVD , when my system is ON for 1 hour and I want write DVD with K3B , I have to reboot system and after reboot , I can write DVD and I do not have problem , but when I do not REBOOT system and start write DVD , write 4.3 GB od DATA , take long time , and my fedora write on DVD in 8 hour and sometimes it take long time , but after reboot write one DVD take 16 min. I do not know why .
fedora work for 1 hour -----> when dose not reboot system --> take 8 hour for write one DVD Fedora work for 1 hour -----> when reboot system ---------> take 16 min for write on DVD
this is happen when I use brasero for write DVD. my HDD is 80 GB and I use Default partitioning rule for partition my HDD
View 3 Replies
View Related
Mar 12, 2010
After a system crash while watching a video with vlc and downloading somthing, i can't reboot my system.In the secure mode i get this informations[4.774621] device-mapper: dm-rai45: installized v0.2594b[ 1166.832045] ACPI: EC: non-query interrupt recived, switching to interrupt modeNow the scree is black (20 minnutes later
View 1 Replies
View Related
Jul 19, 2010
I have a friend who needs a script to reboot a system every 5 min... not sure how to set cron to do this every 5 min.
View 1 Replies
View Related
Oct 22, 2009
I did a yum clean all then yum update and got all the 5.4 stuff at which point I rebooted it gets to the udev entry and dies. Any one have any sugestions on how to fix this?
View 10 Replies
View Related
Feb 22, 2011
when I reboot the server with centos 5.5 the SMB deamon doesn't start?
View 2 Replies
View Related
Jan 6, 2011
Every time I reboot my computer the system time always comes up exactly 10 hours behind where it should be. So if I reboot it at 16:00 it comes up as 06:00.
This has only been happening since I got back from a trip to Australia, where I naturally changed the computer's timezone to match the local one. I'm now back in Central European Time which is 10 hours behind Australia's. This is on opensuse 11.3.
I've used the YAST date and time tool to set the timezone correctly, and /etc/localtime is set correctly:
Code:
:~> sha1sum /etc/localtime
b065fae6bda0f0642ca6a52b665768e34a99d213 /etc/localtime
:~> sha1sum /usr/share/zoneinfo/Europe/Berlin
b065fae6bda0f0642ca6a52b665768e34a99d213 /usr/share/zoneinfo/Europe/Berlin
[Code].....
View 9 Replies
View Related
Jul 7, 2010
in a previous version of openSUSE (I think it was v10.3), there was a possibility to directly/automatically start another OS after exiting (rebooting) openSUSE. This could be done through "right-clicking" on the Reboot (Restart) button from the KDE's log-off dialog and choosing the OS you wanted to be started after the restart. Please, does anybody know if this is possible in openSUSE 11.2 (KDE 4.4)? PS: I know that GRUB enables that, but I prefer a "GUI way" rather than using command line and editing configuration files
View 4 Replies
View Related
Mar 21, 2010
I am using Ubuntu 9.10. Every time I try to reboot my system it hangs. Shutdowns work properly. I've done multiple re-installations. Nothing I've tried fixes the problem. Does anyone have any suggestions?
View 4 Replies
View Related
May 3, 2010
I ran Karmic until last week, and noticed that it seemed to be getting slower. I was hoping a clean install of Lucid would fix that. it's worse. If I leave my machine running for a few hours, something begins dragging down the performance to a crawl.
System Monitor sometimes won't come up - launches an empty grey window. Other times, System Monitor reports that gnome-system-monitor is consuming 86-96% CPU. This is a dual-core Dell e6500 laptop with 4 Gigs of RAM, it should fly. Any ideas on troubleshooting this?
View 5 Replies
View Related
May 11, 2010
How can I stop Firefox from always loading when I restart my computer?
View 2 Replies
View Related
Aug 15, 2011
A few days I used the wubi installer to install Ubuntu over Windows. This I did on my C: drive. I also have another partition, the X: which now is my D: drive after I used the gparted live cd to give the system partition more free space. No problems so far.
But now, when I use Clementine Player, I see that it cannot find any of my songs in my library and Deluge has to 'check' my downloads every time I open it after a reboot. My theory is that the folder inside /media/, which contains the file system gets a new name (a 16 digit capital letter/number name) every time I reboot my computer - or maybe every time I use Windows and then Ubuntu again? It's pretty annoying,
View 1 Replies
View Related
Mar 18, 2009
We are running SUSE 10 SP1 and MySql 5.0.62 with heartbeat configured cluster attached to a SAN and after upgrading powerpaths on the fiber switches we had to reboot the machines and remount the SAN luns.
The cluster successfully started and was working fine for about a day or so and then i logged in as root and hosts, fstab, known_hosts were all giving me this error when i tried to modify them "W10: Warning: Changing a readonly file"
I failed over to another node and same thing happens on another node. I can't modify any of these files
View 2 Replies
View Related
Jul 13, 2010
I have a smoothwall linux box that I need to setup an automatic reboot daily. Can anyone point me in the right direction to begin.
View 1 Replies
View Related
May 28, 2011
I have upgraded Fedora 13 to Fedora 15 using installation DVD. Upgrade went well, no issue. After the reboot, the system stops after following line:
Started LSB: Suspend/Resume libvirt guests on shutdown/root.
I do not have any idea what kind of problem is, also I would like to keep my old version installation.
View 4 Replies
View Related