|
|
![]() |
|
|
Top | #21 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
NetRyder, you said ssh was built-in, yet I can't find it. Can you guide me? |
|
|
|
|
|
Top | #22 |
|
Tech Junkie
Joined: April 2002
Location: New York City
Posts: 13,256
Reputation: 4260
Power: 294 |
Originally Posted by Glaanieboy
Since I wasn't going to use this for any kind of remote sharing, I just chose the "Local User Name Mapping" option with NIS, and left the fields on the next screen blank. I'm not sure what the procedure would be if you actually wanted to use NFS/NIS etc.
|
|
|
|
|
|
Top | #23 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
Oh wait, now I get it. It's a unix emulator for Windows! Cool! Now I have to find out how to install software, I am spoiled with the make install clean commands in FreeBSD ports collection, so it might be a challenge.
|
|
|
|
|
|
Top | #24 |
|
Tech Junkie
Joined: April 2002
Location: New York City
Posts: 13,256
Reputation: 4260
Power: 294 |
Originally Posted by Glaanieboy
That's very strange...bash actually runs as fast as cmd for me. No typing delays whatsoever. gcc takes a few seconds longer to compile as compared to a native *nix machine, but that's not a big delay either. That's one of the reasons why I've decided to leave this installed. It's awesome. I never really liked cygwin, so I got rid of it a week after I installed it.
In any case, maybe vern can share his experience with us as far as speed is concerned once he's installed it too. Regarding ssh: You need to install the OpenSSH package (this also includes sshd, the ssh daemon) from the Interop Systems site. First thing is to bootstrap the package manager, as per the instructions on this page: http://www.interopsystems.com/tools/pkg_install.htm That's a one step process that you need to do just once in order to be able to install any extra packages in the future. Once that's done, head over to this page: http://www.interopsystems.com/tools/warehouse.htm You can either manually download the OpenSSH package to a directory and run "pkg_add openssh-current-bin.tgz" or install it directly using "pkg_add ftp://ftp.interopsystems.com/pkgs/3.5/openssh-current-bin.tgz" which will download and install the package. The second method tends to be a little slower (since the server is pretty slow in itself) and there's no progress meter to tell you how much is done, so it might seem like it's frozen, but it's not. I prefer to use the first method to download first, and then install, unless I need the dependency-checking (which I believe isn't required for OpenSSH). Let me know how it works out. ![]() P.S. If you're using this only for the ssh client, it might be more prudent to just use something like Putty or Terraterm Pro, considering the amount of disk space SFU takes up. |
|
|
|
|
|
Top | #25 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
Hmmm,, k. I installed the bash package and pkg_info says it's installed, but I can't find it. Not in /bin, not in /usr/bin. :confused: *continues the search*
|
|
|
|
|
|
Top | #26 |
|
Tech Junkie
Joined: April 2002
Location: New York City
Posts: 13,256
Reputation: 4260
Power: 294 |
/usr/local/bin/bash
![]() If you want to create a shortcut to a bash prompt, use this as the target: Code:
C:\WINDOWS\system32\POSIX.EXE /u /c /usr/local/bin/bash -l |
|
|
|
|
|
Top | #27 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
Ah, I forgot the 'local'. I thought it was only used in BSD, but it seems that Unix works like that too.
|
|
|
|
|
|
Top | #28 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
Oh wait, this is based off OpenBSD :lol: :doh:
|
|
|
|
|
|
Top | #29 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
Ah, now I get the hang of adding and deleting packages. It really looks cool, but I am wondering, can I add Windows useraccounts in the shell too using the useradd or pw useradd utility?
|
|
|
|
|
|
Top | #30 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
Alright, this was fun, but you're right, Net, I only use this for the ssh thingy. Putty can do that too and is less than 1 mb in size. Though I must say I've have never seen an Unix emulator under Windows and maybe I don't understand it's potential. I think this is more of a 'fun' way to play around with Unix commands in Windows, nothing more. You can't really do something with this, only in it's own emulated environment.
|
|
|
|
|
|
Top | #31 |
|
Tech Junkie
Joined: April 2002
Location: New York City
Posts: 13,256
Reputation: 4260
Power: 294 |
Originally Posted by Glaanieboy
Yeah, it largely depends on what you're going to do with it. If it's only ssh, the whole SFU installation is probably just a waste.
I dual boot XP with Slackware 9.1, but I'm most productive/comfortable with my Windows apps. SFU gives me the best of both worlds, in a sense - all the GUI-software available for Windows that I'm familiar with, and an extremely powerful UNIX command-line shell to work natively with all my files. If you really get serious about it, you can combine SFU with a product called Desktop-X from Interop Systems (this is commercial software, though) that gives you access to the X server, so that you can run your *nix-only apps within Windows. The advantage of this is that you could keep something like Photoshop or Excel running as a native Windows app, and have some *nix X-based app running simultaneously. You can then use the X app just like any other Windows app, being able to copy/paste to and from it etc. ![]() It's a very neat system, but for now, I'm quite happy with just the terminal. |
|
|
|
|
|
Top | #32 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
Yes, but, you can't access the Windows drive, only the files within the C:\SFU (default install) directory. So in reality, it's only for fun, you can't do a thing with it, except bashing in unixcommands and edit the startup files or sump.
|
|
|
|
|
|
Top | #33 |
|
Tech Junkie
Joined: April 2002
Location: New York City
Posts: 13,256
Reputation: 4260
Power: 294 |
Originally Posted by Glaanieboy
If only you had asked...hehe.
![]() You can access each and every file on your drive! That's what I've been saying all along...that's what makes this so exciting. Your drives are located in /dev/fs. So for example, to access C:\WINDOWS files, you'd just use "cd /dev/fs/C/WINDOWS" and you have access to everything in your Windows folder. You can then use any of the available command-line *nix tools to manipulate any of those files. Same with any other drive/folder...D:\Documents would show up under /dev/fs/D/Documents! |
|
|
|
|
|
Top | #34 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
Sheeeeeet! Cool! *tries it out* It works! But can you add Windows users with it? Just with useradd? Or pw?
|
|
|
|
|
|
Top | #35 |
|
Tech Junkie
Joined: April 2002
Location: New York City
Posts: 13,256
Reputation: 4260
Power: 294 |
Originally Posted by Glaanieboy
What do you need to add the users for? Incoming ssh connections? Network sharing?
|
|
|
|
|
|
Top | #36 |
|
Tech Junkie
Joined: April 2002
Location: New York City
Posts: 13,256
Reputation: 4260
Power: 294 |
@Glaanie: This might be a useful guide for what you're looking to do.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix Toolbox | Dark Atheist | Linux & BSD | 5 | March 23rd, 2008 2:21pm |
| Unix Error's | ZeroHour | Funny Farm | 1 | September 6th, 2004 12:39pm |
| Some UNIX responses to some UNIX commands: | Geffy | Funny Farm | 2 | March 9th, 2004 12:25am |
| Unix Hierarchy | punkandacoke | Linux & BSD | 10 | January 30th, 2004 6:15pm |
| which UNIX o/s ? | SPeedY_B | Linux & BSD | 17 | September 26th, 2002 3:05am |