On Fri, Jun 16, 2000 at 07:29:00AM -0700, Eric Peters wrote:
> Also you might want to "su -"
> the "-" will allow the person to inherent root's environment this also goes
> for any user you want to su to example "su - eric". Please also note you
> have to be su'ed already.
> 
> i.e. "Note the names have been changed to protect the innocent."
> 
> login: eric
> Password:*** 
> Last login: Fri Jun 16 07:07:57 from somewere.on.the.net
> [eric@test eric]$ su -
> Password:***
> [root@test /root]# su - user1
> [user1@test user1]$ 
> 
Hello Eric,

here is what i get (logged in as root on text console 4) :

[root@big /root]# cd /
[root@big /]# id
uid=0(root) gid=0(root)
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),505(gnokii)
[root@big /]# su - frank
bash: /dev/tty4: Permission denied
[frank@big frank]$ id
uid=502(frank) gid=506(frank) groups=506(frank)
[frank@big frank]$ logout
[root@big /]#
[root@big /]#

SU works, you can see it... But why i get this permission message?

-- 
Andre Steden <[EMAIL PROTECTED]> - GPG ID: 332441FB


Reply via email to