Results 1 to 6 of 6
I will be setting up a system for administration in a few days, with the primary goal being able to keep normal users away from the information on it. Now ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-20-2005 #1Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
User Desktop Policies
I will be setting up a system for administration in a few days, with the primary goal being able to keep normal users away from the information on it. Now a windows machine (All the users are Windows users) would be grand for the job, but I'm obviously glad someone has asked to set up a linux machine, always glad to spread the word. there are two things I'd like to be able to do - kinda security, this forum was the nearest I had, relating to policies and such.
- How can I prevent any OS reaction from pressing ctrl-alt-del? Remember these are windows users who are used to locking their stations 30-40 times a day.
- How can I prevent users switching to VTs using ctrl+alt+F$ ? I would like the system to stay strictly GUI once configured, not so much for security but I don't want anyone tweaking or any power users getting any ideas.
Any help would be appreciated!
This is only gonna lead to 101 other questions.....
- 06-24-2005 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Not a blip!!!
Poor show lads!
Answer to the first one for anyone else who's looking -
edit the system's response to ctrl-alt-del by modifying /etc/inittab. Either comment out the following line, or add the switch -a to restrict it's access to users in the file /etc/shutdown.allow.
Will return if I get the other answer.ca::ctrlaltdel:/sbin/shutdown -r -t 4 now
- 06-24-2005 #3Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Sniff....Posting again to my own thread

Nah, just feel it would be wrong not to pass on this stuff, particularly because I haven't seen it covered before here.
To disable virtual terminals, there are also entries in /etc/inittab
Just never really understood these parts before.
Change the lines to look like this:Code:# getty-programs for the normal runlevels # <id>:<runlevels>:<action>:<process> # The "id" field MUST be the same as the last # characters of the device (after "tty"). 1:2345:respawn:/sbin/mingetty --noclear tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6
I was reading that you should leave one VT active, which doesn't suit my needs 100% but at least I've made progress here.Code:1:2345:respawn:/sbin/mingetty --noclear tty1 2:234:respawn:/sbin/mingetty tty2 3:234:respawn:/sbin/mingetty tty3 4:234:respawn:/sbin/mingetty tty4 5:234:respawn:/sbin/mingetty tty5 6:234:respawn:/sbin/mingetty tty6
- 06-25-2005 #4Linux Newbie
- Join Date
- Jun 2005
- Location
- Whitstable, Kent, England
- Posts
- 136
You've done well getting that information, I'm finding it useful for a start as I have been wondering how it could be done. The main reason bein that at my school, the sysadmin and I are both wanting to get Linux more itno the network but some software means that it is still nearly all Windows.
I was keen to know how you could get similar user restrictions as Microsoft's "Active Directory" provides. I think something like this is required as being a normal user on a Linux box it seems that you are given so many oppertunities to enter the root password whereas on a AD domain client you can even get anywhere whereby you could enter a password.The biggest security threat is the user.
- 06-28-2005 #5OpenLDAP will solve your centralized authentication needs.
Originally Posted by Xenon 
http://www.openldap.org for a start.
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 06-28-2005 #6Linux Newbie
- Join Date
- Jun 2005
- Location
- Whitstable, Kent, England
- Posts
- 136
I would be nice to convert but there is a huge amount of work to be done at the minute and OpenLDAP has been seen as a possible way forward. The main problem is due to some of the software required, which is also the reason why two web servers are required, one running IIS *shudder*, just to support the software.
I'm sure plenty of people can think of way to solve this situation, I would be glad to hear them, they just wont be likely to happen until possibly August when the nework is be rearranged but by then all the XP and server 2003 and licences will have been purchased. This is going to be a definite upgrade as there are currently two networks, one running on NT servers and the other running on 2000 servers, they are rather overloaded.
I am, however, interested in playing with LDAP myself, that is after I have finished playing with the other stuff I want to :PThe biggest security threat is the user.


Reply With Quote
