LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 09-24-2006, 07:21 PM   #1
Afiyf
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
Password:
 
Old 09-24-2006, 08:04 PM   #2
IBall
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:
Code:
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:
Code:
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
--Ian
 
  


Reply

Tags
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 04:55 PM
Darwin Windows Dual Boot Brother Michael Other *NIX 3 11-14-2004 06:18 PM
darwin arrruken Linux - Distributions 13 10-15-2003 08:58 AM
GNU-Darwin? sorrodos General 5 08-15-2003 02:51 PM
Anyone try Darwin 1.4.1? sewer_monkey *BSD 0 06-13-2002 03:04 PM


All times are GMT -5. The time now is 08:06 AM.

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