Bad idea with a capital 'B'. Giving a user root privileges makes the user the same as root, hence totally defeating the purpose of having a separate user account. The point of doing things as a user and not as root brings several advantages, including security (over networks, including the Internet) and safety (from both user and appication errors). Running as root, or with root priviliges (which is really the same thing), would give you a level of security and safety only marginally higher than that of Windos (i.e. not much at all).
On Tue, 2 Oct 2001 23:23:38 +0800, "Loke Kit Kai" <[EMAIL PROTECTED]> wrote: > oh ya... about the admin thing... I was just thinking, since I am using the > user account, might as well give that account admin rights... is it still a > bad way of doing things? wat do you think? > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf > Of Tim Holmes > Sent: 02 October 2001 22:42 > To: [EMAIL PROTECTED] > Subject: Re: [newbie] Command not found > > > Sounds like you don't have your $PATH defined. Type this command, as the > user, and let us know what you get. > > /bin/echo $PATH > > As the user, you should get something like this in return: > > [timh@r2d2 timh]$ /bin/echo $PATH > /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/X11R6/bin:/usr/games:/home/ > timh/bin:/usr/X11R6/bin:/usr/games > > The fact that you actually can log in and get a prompt, that means that user > does have a shell, but since it can't find where the commands are, that's > what makes me think that the PATH is not defined. > > To define the $PATH, add this line to your $HOME/.bash_profile. > > PATH=$PATH > > And then add the word PATH to the end of the line that reads export. So it > will then look like this most likely: > > export BASH_ENV=$HOME/.bashrc PATH > > If you have more things there, that's fine, but make sure you add the PATH > there, and the PATH line in your ~/.bash_profile. That should then fix that > command not found problem. > > As far as the admin rights... There are things that will allow you to do > that, but personally, as a Systems Admin, I would say stay away from them. > It's much better and much more secure to just use the already existing > super-user account. If you need to do something, login as root, then logout > when you're done. > > I would really like it if Mandrake would actually do what FreeBSD does. > Where only users in the wheel group can su - root and then gain root access. > But I'm not sure if that's every been considered or even suggested. But > that's just me. > > Hope that helps you, if not, let us know. > tdh > > -- > T. Holmes > ----------------- > UNIXTECHS.org > [EMAIL PROTECTED] > UIN: 17021091 > ----------------- > "Real Men Use Vi!" > > Uptime: > -------------------------------------------------------------------- > 10:22AM up 7 days, 21:23, 3 users, load averages: 0.04, 0.01, 0.00 > -------------------------------------------------------------------- > | Hi, > | I successfully solved the partition problem by creating a partition > first, > | then delete and reallocate it during the install. > | However, when I went into console using the ALT + CTRL + F1, login, but > | when i type any command, even ls, they say command not found, but under > | root, i can use those command, Please assist. > | I also help in this... Windows 2k allows user to be assigned > administrator > | rights, does linux allows that? How do I go about doing it? > | > | Thanks, > | Regards, > | Loke Kit Kai -- Sridhar Dhanapalan I keep trying to tell my boss that no, Satan is a tool of Linux, not the other way around.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
