Thanks for filing a bug report; however, your log looks exactly as expected.
The 'admin' user should not be confused with the system's superuser account 'root'. 'admin' is something that is local to your site and unless you or your system administrator has gone to some effort to configure local filesystem permissions and perhaps group permissions, the user 'admin' wouldn't be expected to be able to write into a directory owned by the user 'b21an'. Note especially that 'script' presents you with a new shell and records all input and output from that shell, and commands you type there. It is expected that it gives you a new shell prompt, and when you used 'sudo' to start script, it gave you the expected # prompt. If you didn't want to run 'script' as root, you should leave off the 'sudo'. You could use the command line parameter to specify a place that the 'admin' user has write privileges too, such as the admin user's home directory, like this: $ script ~admin/typescript When you want to exit the shell started by 'script', type 'exit' or use the usual ^D. Thanks ** Changed in: sudo (Ubuntu) Status: New => Invalid ** Information type changed from Private Security to Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1319676 Title: sudo launched root prompt not the program To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1319676/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs