 |
 |
logging in as admin from another users terminal/shell
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2001
Status:
Offline
|
|
I've got accounts set up for me and my housemate at home, me being the admin user. Sometimes, to save logging my housemate out I'll do various tasks via the terminal by logging in as me.
However, when I log in I get the following message:
tcsh: Cannot open /etc/termcap
tcsh: using dumb terminal settings
Then when I'm logged in the cursor keys won't work, i.e. up won't list the previous command instead it gives ^[[A
it's not a huge problem, but I'd like everything to work as normal, any hints?
Cheers,
Si
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status:
Offline
|
|
Originally posted by ism:
I've got accounts set up for me and my housemate at home, me being the admin user. Sometimes, to save logging my housemate out I'll do various tasks via the terminal by logging in as me.
However, when I log in I get the following message:
tcsh: Cannot open /etc/termcap
tcsh: using dumb terminal settings
Then when I'm logged in the cursor keys won't work, i.e. up won't list the previous command instead it gives ^[[A
it's not a huge problem, but I'd like everything to work as normal, any hints?
From your housemates terminal do this:
su - youruserid
(don't forget the "-"). It should work.. works for me.
|
|
-DU-...etc...
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Aug 2001
Status:
Offline
|
|
Originally posted by ism:
I've got accounts set up for me and my housemate at home, me being the admin user. Sometimes, to save logging my housemate out I'll do various tasks via the terminal by logging in as me.
However, when I log in I get the following message:
tcsh: Cannot open /etc/termcap
tcsh: using dumb terminal settings
Then when I'm logged in the cursor keys won't work, i.e. up won't list the previous command instead it gives ^[[A
it's not a huge problem, but I'd like everything to work as normal, any hints?
Cheers,
Si
If that doesn't work, you could always setup SSH in the System Preferences.
This is how I have all of the workstations at work setup. Then, anyone can be logged in. I start up the Terminal, then in the File Menu, New Command.
Type ssh -l administrator_account name your_ip_address and enter.
Type in the admin password and there you go.
I hope this helps.
Scott
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2001
Status:
Offline
|
|
Originally posted by utidjian:
From your housemates terminal do this:
su - youruserid
(don't forget the "-"). It should work.. works for me.
woohoo. Works fine. Even without the "-" (with the "-" is the -l option, full login, without the "-" is the -m option), I've found no problems so far.
Ace,
Cheers,
Si
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
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
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|