« Tunneling AFP over SSH | Main | Parallels Server for XServe and Mac Pro »

10/23/2007

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

asdf

Never use useradd, use adduser. It is better to use nano than pico if you must use that kind of editor, because nano requires less dependancies. Never directly edit the /etc/sudoers file, ever, for any reason. Use visudo, it has safety checks to make sure you've not made the file unusable.

You shouldn't force random people to register in order to correct you, try using a captcha instead, since it's less of a hassel.

dankney

I turned on word-based gatekeeper, so registration should no longer be necessary.

Correct is a very strong term, however. Visudo requires proficiency with vi. Text editor preferences are a bit of a religious discussion, so I intentionally chose the simplest possible editor. The safety checks are a good feature, but it complicates things for a user that may need this document (it's content is obvious to anyone who uses OpenBSD regularly).

Pico vs. nano is another text-editor preference choice. Nano does have a more permissive license and is generally considered to be a cleaner code base. I use pico simply because I'm employed by it's authors. Again, choice of text editors is a personal thing.

I can understand your choices for those two, but I don't understand the adduser vs. useradd admonishment.

Adduser is an interactive dialogue (a text version of a wizard). I may be old-fashioned, but I'd rather use a couple of quick, non-interactive commands than complete a dialog of questions.

$ sudo useradd -m username
$ sudo passwd username
$ sudo usermod -G group username

accomplishes exactly the same thing as using adduser.

Nat

Proficiency with vi is a requirement of unix, no ifs, ands or buts about it. OpenBSD is a unix system, and while some may like to modify their EDITOR env, it's not going to change the fact that if you don't know vi, you don't know ed, and if you don't know ed, in the end, you're going to be in trouble.

nano doesn't need pine is my biggest point pro-nano.

adduser is a script that handles everything, rather than leaving the possibilty of half-made user accounts, which can cause problems in a system.

Nat

And now pine is no longer being built as an OpenBSD package, because of the licence.

 ice age 4 toys

OpenBSD is a unix system, and while some may like to modify their EDITOR env, it's not going to change the fact that if you don't know vi, you don't know ed, and if you don't know ed, in the end, you're going to be in trouble.

nano doesn't need pine is my biggest point pro-nano.

The comments to this entry are closed.