03-23-2010
Changing the password prompt
Is there any way I can change the prompt which asks for the password on a UNIX system? e.g. When I login using Telnet instead of "Password" I should get "Correct Password".
Thanks,
Vineet
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi...
Can anyone help! I am in dire need to change the "login:" prompt to "username:" any ideas?
Thanks in advance :) (6 Replies)
Discussion started by: juilan
6 Replies
2. UNIX for Dummies Questions & Answers
Me again,
What is the difficulty to display the full directory Path before my prompt command ? (like DOS)
I'm using Solaris 8 + Bash
Thanks again
Fabien (4 Replies)
Discussion started by: unclefab
4 Replies
3. UNIX for Dummies Questions & Answers
Phew simple question,
I want to display the my directory path in prompt.
Did the following in .profile
PS1=`pwd`
export PS!
Worked, but it always points to HOME directory.
When i do a cd, it doesn't change.
What am i missing.
Thanks (7 Replies)
Discussion started by: vibhor_agarwali
7 Replies
4. UNIX for Dummies Questions & Answers
I know no one has ever asked this before {not :D } but I am trying to set the prompt in the .profile under sh. I have tried everything I have seen on the web in regards to this, with no success. The OS is SCO Unixware 7.1.1, {not by my choice}. All the examples I see seem to be for ksh, which is... (1 Reply)
Discussion started by: jcc5169
1 Replies
5. Solaris
I currently have this as my prompt when I log in (shell is sh):
PS1="`hostname ` # "
My question is how do I add the current directory to that prompt? Is there a way?
Thanks. (5 Replies)
Discussion started by: kjbaumann
5 Replies
6. Shell Programming and Scripting
hi all, please tell me why this 2 liner script is not working!!
#!/bin/bash
oldps1="$PS1"
PS1="myprompt>"
but when type this in terminal it works!! (7 Replies)
Discussion started by: tprayush
7 Replies
7. Shell Programming and Scripting
Hi,
I want to change the shell prompt, using the cd command.
I have a shell prompt like this -
p78-mfx(dgaw1078/9781)$
Now i do this -
p78-mfx(dgaw1078/9781)$ cd log4j
here the shell prompt should change like this -
p78-mfx(dgaw1078/9781)log4j$ (6 Replies)
Discussion started by: arunkumarmc
6 Replies
8. UNIX for Dummies Questions & Answers
Currently, when I cd to a directory I get the directory path in the command prompt, making it very long. I would like to change it so the path is not displayed.
If I am in directory ~/tatsh/hstmy/test, I just want my prompt to be the last directory name as shown just below
---------- Post... (1 Reply)
Discussion started by: kristinu
1 Replies
9. Shell Programming and Scripting
Hi, i was wondering if it is possible to change the default prompt for the shells that are availble on your system?
For example, i want to change the prompt for the C shell from % to something like ( or ).
Thanks,
Nav. (7 Replies)
Discussion started by: Navs_
7 Replies
10. Shell Programming and Scripting
Need assistance in changing prompt .
Trying to change prompt in csh,tcsh shell . Below are the commands i tried in .cshrc and sourcing this files.
set prompt = "$user@`uname -n` : ${cwd}> "
#above commands works for username and hostname but cwd doesnt change
directories
set... (16 Replies)
Discussion started by: ajayram_arya
16 Replies
auth(5) File Formats Manual auth(5)
Name
auth - auth database
Description
The database is a repository of security-relevant information about each user of the system. This database contains the encrypted password
associated with the user's account in addition to a list of assorted capabilities. The database is stored as an database in the files and
Records are retrieved with the library routine. Access to the database is restricted to the superuser and members of the group
Auth records may be converted to an ASCII representation whose format is:
1000:4KvidFYwovnwp3j8lll78dC1:1920129:3600:2678400:03:0:1000:0:00:00
The first field is the UID of the entry that is used as the key into the database. Then follows:
Encrypted Password
This is the user's encrypted password. Whether this password or the one from the file is actually used is determined by the
security level that the system is running at.
Password Modification Time
This is the time(2) the password was last set.
Minimum Password Lifetime
This is the minimum number of seconds which must elapse between setting passwords.
Maximum Password Lifetime
This is the maximum period of time for which the password will be valid.
Account Mask These are capabilities pertaining to the account itself. They are:
1 A_ENABLE: this account is enabled.
2 A_CHANGE_PASSWORD: The user can change his or her password.
4 A_ENTER_PASSWORD: The user is not required to use machine-generated passwords.
Login Failure Count
This is the count of unsuccessful login attempts since the last successful login.
Audit ID Positive integer identifier used in generating audit records for the user.
Audit Control See the reference page, SET_APROC_CNTL section for more information.
Audit Mask Determines which events will be audited for the user. See the and reference pages for more information.
Restrictions
Only the superuser and members of the group may read information from the auth database. Only the superuser may modify the auth database.
Files
See Also
audcntl(2), getauthuid(3), getpwent(3), edauth(8)
auth(5)