Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-24-2006, 08:21 PM   #1
LQ Newbie
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
Darwin OS X vs. Windows XP

I am having trouble understanding the Darwin Terminal even though I know my way around the Bourne Shell.

Q 1: How do I connect to a Remote server from my PC using Terminal?
With DOS, or SSH, I establish the connection and enter into it.
I am told WebDAV (Web-based Distributed Authoring and Versioning) is a way to connect. Is there another way without using Darwin?

Q 2: How do I become the root user by using su if I don't have the password I used to log into Mac OS X?

[darwin:~] afiyf$ su
Old 09-24-2006, 09:04 PM   #2
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
Welcome to LQ!

1) SSH is installed by default on OS X. You can connect exactly the same as on any other operating system:
ssh user@remoteHost
2) OS X uses Sudo, and disables root logins by default. You can execute any command with root privileges by adding sudo before the command, eg:
sudo ls /etc
will run the ls command with root privileges. It will prompt you for your users password. You can get a shell with root privileges using the command "sudo -s" which will prompt you for your users password.

I hope this helps


darwin, linuxquestions, os x, terminal, tiger

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Darwin or Not? manis Other *NIX 9 05-19-2006 05:55 PM
Darwin Windows Dual Boot Brother Michael Other *NIX 3 11-14-2004 07:18 PM
darwin arrruken Linux - Distributions 13 10-15-2003 09:58 AM
GNU-Darwin? sorrodos General 5 08-15-2003 03:51 PM
Anyone try Darwin 1.4.1? sewer_monkey *BSD 0 06-13-2002 04:04 PM

All times are GMT -5. The time now is 10:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration