Solved

Environment settings via telnet

Posted on 1998-10-12
3
167 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 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