Author Topic: MES FAQ is a success!  (Read 768 times)

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
MES FAQ is a success!
« on: 5 December 2002, 22:07 »
have a read through this thread here.

linux newbie arrives, asks for good linux site, i say 'how about the MES FAQ' and he says 'really like it'.

I noticed that contributions to the FAQ seem to have tailed off a bit folks, any reason for this? i know i'm not really one to talk, but i do try to add one ever few days or so when i see something relevant to go in there...
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
MES FAQ is a success!
« Reply #1 on: 5 December 2002, 22:13 »
You see, that's why I hate getting into these political discussions. It takes my time away from things like this.    I have been trying to document some things on my own site (between political posts) in hopes that some of it can be used in the FAQ.
Someone please remove this account. Thanks...

DC

  • Member
  • **
  • Posts: 211
  • Kudos: 0
MES FAQ is a success!
« Reply #2 on: 6 December 2002, 01:30 »
Hmm, personally I don't like people learning stuff from a FAQ that tells them to do #su <normaluser> to change from root back to a normal user (I mean DAMN). It's in the Fat32/NTFS mount topic, and *somewhat* changed, but far from corrected (use 'exit' goddammit).

Yes, I already told the maintainers.
GS/CS d- s-: a--- C++ UL+ P+ L++>+++ E W++ N>+ o K- w-- O- M V? PS+>++ PE- Y+ PGP t+ 5+ X R tv+ b+++ DI+ D+ G++ e>++++ h! r- y
A quantummechanical wavefunction describing an unknown amount of bottles of beer on the wall
A quantummechanical wavefunction describing an unknown amount of bottles of beer on the wall
We take a measurement, the wavefunction will collapse, and one of the bottles of beer will fall

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
MES FAQ is a success!
« Reply #3 on: 6 December 2002, 01:43 »
quote:
Originally posted by DC:
Hmm, personally I don't like people learning stuff from a FAQ that tells them to do #su <normaluser> to change from root back to a normal user (I mean DAMN). It's in the Fat32/NTFS mount topic, and *somewhat* changed, but far from corrected (use 'exit' goddammit).

Yes, I already told the maintainers.


what are you talking about... at the end of that FAQ is says "you have to be root to run it, to get to root run "su" then enter password"
it should say "su -" to su into root though
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
MES FAQ is a success!
« Reply #4 on: 6 December 2002, 02:06 »
quote:
Originally posted by DC:
Hmm, personally I don't like people learning stuff from a FAQ that tells them to do #su <normaluser> to change from root back to a normal user (I mean DAMN). It's in the Fat32/NTFS mount topic, and *somewhat* changed, but far from corrected (use 'exit' goddammit).

Yes, I already told the maintainers.



Someone sent me an email about that and I'm correcting it as we speak. . . Bah, it was you?

[ December 05, 2002: Message edited by: TheQuirk ]


TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
MES FAQ is a success!
« Reply #5 on: 6 December 2002, 02:10 »
Heh, it changed "su <your-usual-account>" to "su. . ."

Oh well, I'm replacing it with "exit."

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
MES FAQ is a success!
« Reply #6 on: 6 December 2002, 02:43 »
And another tip for the n00bs, a <CTRL>+d will do the same thing as typing "exit" in most cases. I use it in place of "exit" when getting back to my normal user after an "su -" or for just closing a shell/terminal window in general. If you are multiple shell levels deep just keep pressing "d" while holding the <CTRL> key and it is a quick way to exit out of all of them. You can also use it to log out of a remote ssh/telnet session (only if you are at a blank shell prompt).

[ December 05, 2002: Message edited by: void main ]

Someone please remove this account. Thanks...

DC

  • Member
  • **
  • Posts: 211
  • Kudos: 0
MES FAQ is a success!
« Reply #7 on: 7 December 2002, 02:06 »
quote:
Originally posted by TheQuirk:


Someone sent me an email about that and I'm correcting it as we speak. . . Bah, it was you?

[ December 05, 2002: Message edited by: TheQuirk ]


Dunno - I did send a mail, but I don't know if it's the one you're referring to.

But good, it is corrected. The MES FAQ is cool again.
I did send the mail some weeks ago though. It is quite a security risk to su to a normal account as root though, so I wanted it changed.
GS/CS d- s-: a--- C++ UL+ P+ L++>+++ E W++ N>+ o K- w-- O- M V? PS+>++ PE- Y+ PGP t+ 5+ X R tv+ b+++ DI+ D+ G++ e>++++ h! r- y
A quantummechanical wavefunction describing an unknown amount of bottles of beer on the wall
A quantummechanical wavefunction describing an unknown amount of bottles of beer on the wall
We take a measurement, the wavefunction will collapse, and one of the bottles of beer will fall

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
MES FAQ is a success!
« Reply #8 on: 7 December 2002, 02:19 »
quote:
Originally posted by DC:
It is quite a security risk to su to a normal account as root though, so I wanted it changed.


Why? I do it all the time, although not for the reasons that were used in the FAQ which were the wrong reasons. For instance you may have certain special IDs that you need to run commands under that are normally locked from login access. Like my Amanda backup software runs under the user "operator" and some commands should be run as that user (like erasing tapes, cataloging functions etc). When you su from root to a normal user you are entering a shell with limited privilages, not elevated privilages. I could easily make the case how this is more secure by running commands under another user account that I su'ed to from root rather than running them directly under root.

You can become that user and run the commands under that user easily if you are already root. You don't want to give that user login access and set a password for it because that *will* reduce security. And you certainly don't want to have these processes run under the root ID if you don't have to (especially if they have network daemons which Amanda does).

Another good reason for doing it is if you are trouble-shooting user issues. It is not good security practice to make your users give you their passwords but you can "become" them by su'ing to their ID and trouble-shoot issues that occur under their ID.

But certainly you don't want to use it to get back to your own ID after becoming root with the "su" command, that indeed is... um... I won't say.      

[ December 06, 2002: Message edited by: void main ]

Someone please remove this account. Thanks...

Kintaro

  • Member
  • **
  • Posts: 6,545
  • Kudos: 255
  • I want to get the band back together!
    • JohnTate.org
MES FAQ is a success!
« Reply #9 on: 7 December 2002, 07:02 »
quote:
Originally posted by TheQuirk:
Heh, it changed "su <your-usual-account>" to "su. . ."

Oh well, I'm replacing it with "exit."



I'd replace it with {CTRL-D}