|
|
Telnet as root
|
|
|
|
Fresh-Faced Recruit
Join Date: Apr 2001
Location: Utah
Status:
Offline
|
|
OK, I know some of you are going to cringe at this question, but I hope you realize by virtue of the fact that I'm asking the question, it would actually help me...
How does one enable root to log in remotely? (aka. telnet, rlogin, etc.) I know it's the CONSOLE line in /etc/default/login on Solaris, but I'm not as familiar (yet?) with BSD. (I do understand the principle of su.)
I noticed FTP is the same (/etc/ftpusers for those who care.)
matt
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Apr 2001
Location: Uri, Switzerland
Status:
Offline
|
|
First: Don't use telnet use ssh because it's more secure (less viruses...) You find a description to install OpenSSH by http://www.stepwise.com
Second: Probably you mean 'ssh -l root server.net'. Another possibility is to login with your own username and then write in the Terminal 'su - root'
Helps this?
Claire
|
|
|
|
|
|
|
|
|
Lars -2
|
|
Remote root is disabled by default for a reason. The usual way is to log in as a user, then do a "su -".
cu
Lars
|
|
|
|
|
|
|
|
|
downtown switzerland
|
|
are people actually using computers in uri, switzerland? os x?
i'm impressed...
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Apr 2001
Location: Uri, Switzerland
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Apr 2001
Location: Utah
Status:
Offline
|
|
OK, unless you're on the console, you can't login to your OSX (and most flavors of UNIX) machine through ssh, rsh, rlogin, telnet, etc, as root without disabling some security mechanism on the host machine (server running telnetd or sshd or whatever). My question is merely how to disable that mechanism. The flavors I use will simply boot you off with a message similar to "Not on console" and then the session ends. OSX at least allows you to log in again after giving you the error "root login refused on this terminal." THAT was my question, not how to use the -l flag. I would imagine it is the same as other BSD-esque OS'es, and perhaps even LINUX.
I also understand (and have used for quite some time) ssh. I agree. Use ssh where possible or needed. However, for convenience sake, this makes my life easier during initial configuration of systems on a LAN.
Anyway, thanks in advance.
matt
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Sep 2000
Location: Seattle, WA, USA
Status:
Offline
|
|
Originally posted by mbanks:
OK, unless you're on the console, you can't login to your OSX (and most flavors of UNIX) machine through ssh, rsh, rlogin, telnet, etc, as root without disabling some security mechanism on the host machine (server running telnetd or sshd or whatever). My question is merely how to disable that mechanism. The flavors I use will simply boot you off with a message similar to "Not on console" and then the session ends. OSX at least allows you to log in again after giving you the error "root login refused on this terminal." THAT was my question, not how to use the -l flag. I would imagine it is the same as other BSD-esque OS'es, and perhaps even LINUX.
I also understand (and have used for quite some time) ssh. I agree. Use ssh where possible or needed. However, for convenience sake, this makes my life easier during initial configuration of systems on a LAN.
Anyway, thanks in advance.
matt
man ttys
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Apr 2001
Location: Iowa City, Ia, USA
Status:
Offline
|
|
You cannot log in via telnet as root for security reasons. As others have said telnet (or preferably ssh) in as your normal username and then 'su' to root. It's a lot safer and secure especially if you use ssh.
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Apr 2001
Location: Utah
Status:
Offline
|
|
Just as a follow up - if someone does a search for this topic. The ttys file is where it's located. (Thanks for the right direction Zarafa.) If you're not good at man page reading (who is really?), you simply need to list the ports as secure. I didn't realize that BSD has such a different authentication scheme than System V (Bell labs) UNIX.
matt
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Mar 2001
Location: CANADA
Status:
Offline
|
|
Just wanted to point out that SSH isn't more secure because of "less viruses...". It encryptes the information being sent over your connection so that if someone was theoretically monitoring your connection, they couldn't retrive your password. It has no virus filtering whatsoever.
dmcknigh is correct though. SSH to your account remotely, then su to root or sudo any root commands you need to execute as superuser.
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Feb 2001
Location: Atlanta, GA
Status:
Offline
|
|
Originally posted by downtown switzerland:
are people actually using computers in uri, switzerland? os x?
i'm impressed...
uhm. downtown switzerland. which downtown would that be? not very descriptive. I could have sworn they educated you better than that.
Oder viellicht gahts det i'da schuel genau so schlect wie da i de staate.
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Feb 2001
Location: Atlanta, GA
Status:
Offline
|
|
Originally posted by downtown switzerland:
are people actually using computers in uri, switzerland? os x?
i'm impressed...
uhm. downtown switzerland. which downtown would that be? not very descriptive. I could have sworn they educated you better than that.
Oder viellicht gahts det i'da schuel genau so schlect wie da i de staate.
|
|
|
|
|
|
|
|
|
Simon C. Leemann
|
|
Originally posted by pahroza:
uhm. downtown switzerland. which downtown would that be? not very descriptive. I could have sworn they educated you better than that.
Insider joke: Zurich=Downtown Switzerland
Oder viellicht gahts det i'da schuel genau so schlect wie da i de staate.
Viellicht bisch Du scho es bitz lang i de Staate und h�sch drum nid mit �bercho, dass sich Z�ri oder wenigstens Z�ri-Tourismus jetzt Downtown Switzerland nennt. Di halbi Schwiiz (inkl. einige Z�rcher) lached sich z'tod drab...
scl
|
|
|
|
|
|
|
|
|
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status:
Offline
|
|
People are real good at avoiding the question here:
Open Netinfo Manager. Somewhere under the Security menu you'll find "Enable root account". You'll need to Authenticate in the same program first.
|
The new Mac Pro has up to 30 MB of cache inside the processor itself. That's more than the HD in my first Mac. Somehow I'm still running out of space.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|