https://bugzilla.novell.com/show_bug.cgi?id=653564

https://bugzilla.novell.com/show_bug.cgi?id=653564#c2


--- Comment #2 from Antonio Anzivino <[email protected]> 2010-11-15 
15:03:43 UTC ---
No comment on how Unix does, but if you run "whoami" after running su, you get
root, instead, if you run the sample application with su (again, **not** sudo)
you get the regular user's name.

I tried to run whoami in 3 different conditions:

djeche...@monstr:~> whoami
djechelon
djeche...@monstr:~> sudo whoami
root's password:
root
djeche...@monstr:~> su
Password: 
MONSTR:/home/djechelon # whoami
root

Instead in the previous example, running mono Whoami.exe after being su returns
djechelon, which is inconsistent to whoami command. That's the point...

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to