LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (http://www.linuxquestions.org/questions/%2Absd-17/)
-   -   FreeBSD questions (http://www.linuxquestions.org/questions/%2Absd-17/freebsd-questions-328553/)

Fredstar 05-30-2005 10:39 AM

FreeBSD questions
 
As stated above i have some questions before i install FreeBSD on my system.


1) how do you keep up to date with freeBSD? im a redhat user so im used to things like yum or apt-get. What is the program used to keep freebsd up-dated.

2) Im used to graphical installations, so how hard is Freebsd which is mainly text installation like debian.



well basically those two are my Major two questions.


thanks

scr 05-30-2005 12:30 PM

Hello!
 
First of all, Hello!

Keeping your system up-to-date with FreeBSD is very easy.
You should probably start, by looking at "cvsup" and "portupgrade" man pages / tutorials.
Then you can "make buildworld" or whatever meets your need.

About FreeBSD installation, you shouldn't worry about that.
The installation is pretty straightforward.
Enjoy.

Fredstar 05-30-2005 12:58 PM

yes, i installed freeBSD and im reading though there hand book now. Im sure i will run into this later but i may as well ask how do i set my root pw if i skipped the section during installation by mistake?

scr 05-30-2005 01:18 PM

...
 
Glad you made it through the installation.
Well, if you forgot the root password, you might try to boot in single-user mode.

1. Reboot your system
2. When beeing asking to choose F1, F2 and so on, you'll see a lone hyphen ('-').
3. When you see the lone hyphen, stop the boot process by typing '-s'.
4. It'll ask you to hit enter, do so.
5. It'll ask you about the path of your shell, type /bin/sh or simply hit enter, twice.

run the following commands:
Code:

fsck -p
mount -u /

Now simply run 'passwd', and choose a root password.

Good luck.

Fredstar 05-30-2005 02:14 PM

One more thing!

I enabled ssh and login during the setup and when i try to ssh them i connect but it never allows me to pass the password section. For some reason it just tells me the password is wrong when i know its right because i can log in at the actual machine.

thanks for all the help!!

Sparkfist 05-30-2005 02:33 PM

It might not let you login to an account that is already accessed. SSH is Secured SHell, used for connecting to other machines.

So lets say you leave and your computer is on, you can then connect to it over the internet through SSH and send, download or view files. Thats what its real purpose is for.

Tinkster 05-30-2005 02:44 PM

Moved: This thread is more suitable in *BDS-Forum (BINL), and has been moved accordingly to help your thread/question get the exposure it deserves.

Fredstar 05-30-2005 02:52 PM

Im trying to connect via putty from a windows machine instead of standing in front of the bsd machine. I plan on running the BSD as a virtual machine that i can run through ssh, is this possible with FreeBSD? i have ran other machine's like this because of my lack of monitors.

How can i enable ssh to except my password from putty? with fc3 its as simple as ssh -l username address and all works fine. however, i cant even connect via fc3 terminal.

help and thanks!!

sigsegv 05-30-2005 06:18 PM

You need to use a regular user account to log in to the machine. Root cannot log into a BSD machine remotely in the default configuration (for good reason). It has nothing to do with if someone is already logged into that account.

Create a regular user account, log in to it and su (or sudo) up to root as needed.

EDIT: Yes, I'm aware that you can enable root logins. I don't think that's a good idea though, so I've left out the proceedure for that.


All times are GMT -5. The time now is 04:39 AM.