touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #50403
[Bug 1414959] Re: sudo script from user to admin w/sudo account provides root prompt
It's perfectly normal for the "script" command to give you an
interactive shell prompt, that's what it was designed for.
This behaviour is perfectly normal, and works as expected.
** Changed in: shadow (Ubuntu)
Status: New => Invalid
** Information type changed from Private Security to Public Security
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/1414959
Title:
sudo script from user to admin w/sudo account provides root prompt
Status in shadow package in Ubuntu:
Invalid
Bug description:
Script started on Tue 27 Jan 2015 01:29:17 AM PST
^[]0;b21an@ai7: ~^Gb21an@ai7:~$ ^M
^[]0;b21an@ai7: ~^Gb21an@ai7:~$ whoami^M
b21an^M
^[]0;b21an@ai7: ~^Gb21an@ai7:~$ ^M
^[]0;b21an@ai7: ~^Gb21an@ai7:~$ su admin^M
Password: ^M
^[]0;admin@ai7: /home/b21an^Gadmin@ai7:/home/b21an$ cd^M
^[]0;admin@ai7: ~^Gadmin@ai7:~$ ^M
^[]0;admin@ai7: ~^Gadmin@ai7:~$ whoami^M
admin^M
^[]0;admin@ai7: ~^Gadmin@ai7:~$ sudo script another ^H^[[K=^H^[[K-typescript-`sh ~/bin/date.sh`^M
[sudo] password for admin: ^M
Script started, file is another-typescript-20150127-1422351055^M
^[]0;root@ai7: ~^Groot@ai7:~# ^M
^[]0;root@ai7: ~^Groot@ai7:~# whoami^M
root^M
^[]0;root@ai7: ~^Groot@ai7:~# exit^M
exit^M
Script done, file is another-typescript-20150127-1422351055^M
exit^M
Script done on Tue 27 Jan 2015 01:31:03 AM PST^M
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: login 1:4.1.5.1-1ubuntu9
ProcVersionSignature: Ubuntu 3.2.0-68.102-generic 3.2.62
Uname: Linux 3.2.0-68-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
Date: Tue Jan 27 01:24:36 2015
SourcePackage: shadow
UpgradeStatus: Upgraded to trusty on 2014-11-01 (87 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1414959/+subscriptions