Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Sending a command line SMS.

  1. #11

    Default Re: Sending a command line SMS.

    Quote Originally Posted by hcvv View Post
    I do not know if others allready pointd you to it, bbut recahing this point in the thread
    Code:
    GNOKII Version 0.6.27                                                                            
    Couldn't read /root/.gnokiirc config file.                                                       
    Couldn't read /root/.gnokiirc config file.
    I got the shivers. Are you realy running such an end-user program as root?????????
    Well actually to make you feel better I have a couple of 11.2 boxes that are throw aways so I can do my experementing on them. If anything goes wrong I can blow them away without worry.
    But yes. I was running it from a remote console and I had sued into root before running. I usually test things as root on those two **** machines before moving them into a production or personal environment. After that I use my usual login.

  2. #12
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,743

    Default Re: Sending a command line SMS.

    Quote Originally Posted by blank888 View Post
    Well actually to make you feel better I have a couple of 11.2 boxes that are throw aways so I can do my experementing on them. If anything goes wrong I can blow them away without worry.
    But yes. I was running it from a remote console and I had sued into root before running. I usually test things as root on those two **** machines before moving them into a production or personal environment. After that I use my usual login.
    Of course you can do with your system what you want, but I am sensitive when people show they run things as root unneeded without explaning to the noobs, that read these threads also, that that is not an example that should be followed.
    Henk van Velden

  3. #13

    Default Re: Sending a command line SMS.

    Ahh ok. I'll be sure to do that.

  4. #14
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Sending a command line SMS.

    On 06/23/2011 05:36 PM, blank888 wrote:
    >
    > I usually test things as root on those two ****
    > machines before moving them into a production or personal environment.
    > After that I use my usual login.


    well, imo that is a bad habit...and, unnecessary...for one thing, you
    might test as root and then find the production set up won't work as a
    normal user...and, then all your tests time is wasted motion..

    and, what do you mean by you test as root and then go about "moving them
    into a production or personal environment", do you mean you move the
    software to another machine? or you do you move the machine into the
    production environment??

    well, in either case, by the time you have done all your testing as root
    you may be _rooted_ already! and then move the compromised machine into
    the production environment..

    it is very bad practice running as root unnecessarily...you didn't learn
    that in *nix school, did you?

    --
    DD
    Caveat
    Hardware
    [url=http://tinyurl.com/DD-Software]Software[/ul]
    23 June: Sunrise 4:36 AM, Sunset 10:03 PM

  5. #15

    Default Re: Sending a command line SMS.

    .....
    Heres what happens.
    I have two machines with no value what-so-ever. I abuse the hell out of them. If there is something new that I need to try, I try it on them first, usually logging in as root so I don't have to worry about permissions. After I have a better idea of whatever new toy I have is working, I attempt it as a normal user. Then I see what new problems spring up, if any. This way I tackle a smaller set of problems at a time making each individual problem easier to work out. The machines that I abuse never leave their little hole, only my scripts/changes do.
    And yes, it is necassary. Much of my job involves digging around the anals of the security settings in yast or /etc or wherever, moving in and out of protected folders.

    I have never typed
    Code:
    Removed for security reasons
    as root. Nor will I ever.

  6. #16
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Sending a command line SMS.

    On 06/23/2011 09:06 PM, blank888 wrote:
    >
    > I have never typed
    > [destructive and dangerous code deleted]
    > as root. Nor will I ever.


    you just did! but, that string is only one of _thousands_ of reasons to
    not log into the GUI as root..

    but, you are correct in using whatever work procedures you wish to use
    on your own machines, whether 'approved' by trained linux system
    administrators, or not...or whether bad procedures which introduce known
    security issues, or not..

    i am familiar with the fact that other operating systems have different
    administrative procedures and know that many of those should not be
    followed in linux..

    but, while you are free to try what you wish...we here are also free to
    do everything possible to make sure those new folks who google into this
    thread know for _sure_ that you logging in as root into your GUI on your
    machine is not something they should do (unless they enjoy being rooted
    or otherwise compromised or damaged)

    ok

    --
    DD
    Caveat
    Hardware
    [url=http://tinyurl.com/DD-Software]Software[/ul]
    23 June: Sunrise 4:36 AM, Sunset 10:03 PM

  7. #17

    Default Re: Sending a command line SMS.

    Quote Originally Posted by DenverD View Post
    but, while you are free to try what you wish...we here are also free to
    do everything possible to make sure those new folks who google into this
    thread know for _sure_ that you logging in as root into your GUI on your
    machine is not something they should do (unless they enjoy being rooted
    or otherwise compromised or damaged)
    I did not log into GUI, I ran su from the console.
    And I already agreed to warn the new folks about the dangerous power of root. That was handled by hcvv.

  8. #18
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Sending a command line SMS.

    On 06/23/2011 10:36 PM, blank888 wrote:
    >
    > I did not log into GUI, I ran su from the console.


    then i entirely misunderstood!

    --
    DD
    Caveat
    Hardware
    [url=http://tinyurl.com/DD-Software]Software[/ul]
    23 June: Sunrise 4:36 AM, Sunset 10:03 PM

  9. #19
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,299
    Blog Entries
    14

    Default Re: Sending a command line SMS.

    @blank888: warning new folks is not the issue. Point is, that you developped a way of working/testing that's completely not the way to do things. Testing user programs is done as a user, and root is not a normal user, as you know. Testing as root makes user testresults invalid, since you don't know if testing as root has made systemwide changes (happens). And I did not even mention that you do connect to the web as root whilst testing your app. Henk's warning is to be taken very serious. One of these days you will miss your morning coffee and forget you're not on one of these wasteable machines and ruin a production environment completely.
    I've been trying to train somebody who does things like this. The end of the line is that indeed one of his machines got compromised first, his other machines in the days after that, no backups, half a year of development gone when intruder wiped some partitions. No joke. Afterwards it appeared that running things as root changed some default secure settings to completely open, so no issues when running as a user, where there should have been.
    End of the line: do yourself a favor and change this.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  10. #20

    Default Re: Sending a command line SMS.

    Most of what I do involes working with security settings that are root only access, so I frequently ssh into my two waste machines and make changes there and test them first. I understand the risks that being root brings, and in fact all the machines that I work with have root logging in disabled. You have to su or sudo from a console to be root. I only ran gnokki as root because I was testing it on the waste machines and didn't really care what happened.
    And I will never be able to accedently forget that I'm working on a production machine because of physical safeguards independent of suse, and I'm running frequent backups.

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •