roger... thanks for the advice... i'll follow it...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of FLYNN, Steve
Sent: 03 October 2001 00:57
To: '[EMAIL PROTECTED]'
Subject: RE: [newbie] Command not found


It's still a bad way of doing things - if your userid has root power, then a
simple typing mistake can make a complete mess of your system. If you need
to do anything which requires any special privs, then it's a good "Do you
really want to do this" check to force you to su to root first.

It's your choice, but I'd strongly recommend you use your ordinary userid to
perform everyday tasks and only swap to root when you REALLY need to.

        -----Original Message-----
        From:   Loke Kit Kai [SMTP:[EMAIL PROTECTED]]
        Sent:   Tuesday, October 02, 2001 3:24 PM
        To:     'Tim Holmes'; Mandrake List (E-mail)
        Subject:        RE: [newbie] Command not found

        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
        |
        | Want to buy your Pack or Services from MandrakeSoft?
        | Go to http://www.mandrakestore.com

          ------------------------------------------------------------------


         << File: message.footer >>


**********************************************************************
This email and any files sent with it are intended only for the named
recipient. If you are not the named recipient please telephone/email
the sender immediately. You should not disclose the content or
take/retain/distribute any copies.
**********************************************************************


Norwich Union Life & Pensions Limited
Registered Office 2 Rougier Street
York YO90 1UU
Registered in England Number 3253947
A member of the Norwich Union Marketing Group
which is regulated by the Personal Investment Authority.
Member of the Association of British Insurers.

For further Enquires 01603 622200



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to