On Fri, Jun 16, 2000 at 07:46:40AM +0000, José Ignacio Alvear Zapata wrote:
-> 
-> 
-> 
-> >Hello Ernie,
-> >
-> >i login as superuser! (root) on console 1 !!
-> >
-> >Then i want to switch to the user frank.
-> >
-> >su frank
-> >
-> >and i get the /dev/tty1 Permission denied.
-> >
-> >but the user id has changed... Why i get this message??
-> >(with Mdk 7.1).
-> >
-> >bye
-> >--
-> >Andre Steden <[EMAIL PROTECTED]> - GPG ID: 332441FB
-> 
-> Hi...
-> 
-> If you are at root's $HOME, when you su to another user you are breaking 
-> permission rules (the other user should not have x, r or w permissions 
-> there).
-> That's what the message is telling you (I think).

The solution is to use:

su - frank

The dash tells su to do the normal login for that user, run .bash_profile
and other login scripts.


-- 

                -- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

PGP signature

Reply via email to