Solved

Environment settings via telnet

Posted on 1998-10-12
3
163 Views
Last Modified: 2010-03-18
When I telnet into my box, I'd like to issue the "su" command and become root.  This works fine but I'd like to have the full root environment as if I logged into my box locally with that account.  My path, rights, etc.

I'm sure this is simple.  Must be so simple most books don't cover it.  Help me... I'm a win32 guy trying to convert. =P
0
Comment
Question by:daveko
3 Comments
 
LVL 5

Accepted Solution

by:
cgrey earned 50 total points
ID: 1587167
Issue the command su - root
The - specifies that you want a full login shell.

0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1587168
or simply
  su -
or use  
  rlogin -l root localhost
which has some advantages to su -
0
 
LVL 1

Author Comment

by:daveko
ID: 1587169
Thanks!  That works great.  Now I can really do things remotely on that machine.  
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now