- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Password echo on non-trusted system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 10:19 PM
08-29-2005 10:19 PM
Password echo on non-trusted system
We have users who are very worried when nothing appears when they are changing their passwords.
I would like an '*' or even '***' to appear as each character is entered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 10:35 PM
08-29-2005 10:35 PM
Re: Password echo on non-trusted system
I don't think there is a way to have *** when changing passwords...
Maybe your users should relax by having a cup-of-tea before changing passwords :-))
Enjoy :)
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2005 10:54 PM
08-29-2005 10:54 PM
Re: Password echo on non-trusted system
Thanks for the reply. I suspected that is was the case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2005 01:17 AM
08-30-2005 01:17 AM
Re: Password echo on non-trusted system
#!/usr/bin/perl -w
use FileHandle;
use strict;
my $PASSWD='/etc/passwd';
my $change=0;
die ("usage: $^X username password\n") unless ($#ARGV == 1);
$SIG{'ALRM'}=$SIG{'HUP'}=
$SIG{'INT'}=$SIG{'QUIT'}=
$SIG{'TERM'}=$SIG{'TSTP'}=
$SIG{'TSTP'}=$SIG{'TTOU'}='IGNORE';
sysopen HANDLE, "$PASSWD.xx", O_WRONLY|O_CREAT|O_EXCL, 0644
or die("No open: $!");
link "$PASSWD.xx","$PASSWD.x"
or die ("No link: $!");
unlink "$PASSWD.xx" or die ("No unlink: $!");
sysopen PASSWD, "$PASSWD", O_RDONLY|O_EXCL or die ("No RO open: $!");
while (
chop;
my ($login,$passwd,$uid,$gid,$gcos, $home, $shell)=split /:/;
if($login eq $ARGV[0]) {
srand(time()^($$+($$ <<15 )));
my $salt=pack("cc",65+int(rand(60)),65+int(rand(60)));
$passwd=crypt($ARGV[1],$salt);
$change++;
};
print HANDLE "$login:$passwd:$uid:$gid:$gcos:$home:$shell\n";
}
unlink "$PASSWD.old";
link("$PASSWD","$PASSWD.OLD");
close(HANDLE);
rename "$PASSWD.x","$PASSWD";
close(PASSWD);
print "Changed $change password(s)\n";
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2005 02:16 AM
08-30-2005 02:16 AM
Re: Password echo on non-trusted system
As I suspect it is not available to us so we will need to teach the users what to expect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2005 02:24 AM
08-30-2005 02:24 AM
Re: Password echo on non-trusted system
Give us some points :P
Thks!
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2005 02:42 AM
08-30-2005 02:42 AM
Re: Password echo on non-trusted system
It won't be easy though, especially if you don't know pam.
See "man pam" for a brief overview.
You could even change it to tell the user to get a cup of tea before typing their password ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2005 03:37 AM
08-30-2005 03:37 AM
Re: Password echo on non-trusted system
mmmmm Didn't that lead to some problems in the 'Hitchhikers Guide to the Universe' ? ;-))