[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I always have to log in as root!?



On Wed, 17 Feb 1999, Robert-Jan Kuijvenhoven wrote:

> I have installed Linux and it works just fine, if I log in as root. When I log in as a 'normal' user a lot of thing don't work. For example I can't use the pon command when I am not the root. I also can't start X11 when I am not the root. The system tells me I have to be a root for this. I think this is not a good security situation.
Give yourself group rights that the program belongs to. For example if
ls -l /usr/bin/pon
-rwxr-xr--   1 root     dip         265 Mar  2  1997 /usr/bin/pon

Then a user has to be a member of group 'dip' to run program 'pon'.
See man pages on chown, chgrp etc.

/------------------------------------------------------------------------------/
Daniel J. Mashao	      	
Electrical Engineering                          daniel@comgate.ee.uct.ac.za
University of Cape Town	       	            http://www.ee.uct.ac.za/~daniel 
Rondebosch, 7700, S. Africa         (w) 27+21+650 2816  (h) 27+21+705 8469
/------------------------------------------------------------------------------/


Reply to: