1) check ownership on the dir
2) is there a user "frank" ?


>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 6/15/00, 7:03:31 PM, "Ernest N. Wilcox Jr." <[EMAIL PROTECTED]> wrote 
regarding Re: [expert] Mdk71 - su question !:


> On Wed, 14 Jun 2000 - Andre Steden, you wrote:
>   |  Hello,
>   |
>   |  if i login as root an console 1 and want to switch to another 
user with
>   |  su frank
>   |  i get :
>   |  bash: /dev/tty1: permission denied
>   |  (with Mandrake 7.1)
>   |
>   |  i tried the same with Mdk7.0 - there is no such message.
>   |
>   |  bye
>   |  --
>   |  Andre Steden <[EMAIL PROTECTED]>

> I just tried this with 7.0, and got the "permission denied" responce 
as well.

> Try becomming a superuser, then the other user and it will work - but 
you
> will still be logged onto your first user's home folder.

> So using user1 and user2 for the two user id's, when you log in as 
yourself,

> you will see [user1@localhost user1],

> then become the superuser, [root@localhost user1],

> and filally become the second user, [user2@localhost user1]

> If I understand correctly, the denial of permission to direct user id 
changes
> is a security feature which keeps regular users from switching their 
identity at
> will (even if you know the second user's passsword).

> If you know another user's id and password, this is not much of a 
hindrence,
> but it is still an inconvenience to have to log out and then back in 
as the
> other user. However it does prevent non authorized user id changes.

> HTH,

> --
> ___________________________
> Ernie ([EMAIL PROTECTED])



Reply via email to