10 More Discussions You Might Find Interesting
1. SuSE
Below is the error I'm getting.
# passwd username
Changing password for username.
New Password:
Reenter New Password:
Password changed.
New UNIX password:
Retype new UNIX password:
Password has been already used. Choose another.
passwd: Authentication token manipulation error# cat... (0 Replies)
Discussion started by: toor13
0 Replies
2. AIX
Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies
3. Solaris
Hi Every One,
Is their any command or solution to retrieve ILOM username and password from Solaris OS without rebooting or resetting.
Thanks (3 Replies)
Discussion started by: bobby320
3 Replies
4. UNIX and Linux Applications
hello -
A SystemOut.log file has recurring entries that follow this format:
Principal: auth9.nick.al.gov:389/USERNAME
Over the course of a day thousands of lines similar to this are produced, with each username represented hundreds of times.
I need to create a new file that shows... (4 Replies)
Discussion started by: 1075FJ40
4 Replies
5. UNIX for Dummies Questions & Answers
hey guys plz help me..with shell script.
i must find the given(the user types a username) username if is it login or not..
i know how to do it logically, but i think that i can't in scripting.
Thank you all (5 Replies)
Discussion started by: aintour
5 Replies
6. Shell Programming and Scripting
Hello All,
If I have a simple cgi script and want to find the name of the person accessing the page, is it possible? How do I get the name of this user? Please help.
I was trying a vague method but it doesn't seem to work with all browsers and versions ...
$val=$ENV{'HTTP_COOKIE'};
$name... (1 Reply)
Discussion started by: garric
1 Replies
7. UNIX for Dummies Questions & Answers
hi there,
i'm new to UNIX( just 3month used),
i found my new box contained alot of files and directories in /home/box/
i've tried to search script in tis forum and found many of them but, i don't know
how to combine them to make a script, although using pipes.
my tasks are:
1) to scan user... (5 Replies)
Discussion started by: Helmi
5 Replies
8. AIX
Hi,
How do I read username and lastupdate attribute values from /etc/security/passwd file and write the obtained data to another file. The data in the new file should be in this format as shown:
avins:12345
root:45234
xyza:23423
Plese let me know this ASAP
Thanks,
Haroon (3 Replies)
Discussion started by: me_haroon
3 Replies
9. AIX
Hi All,
As i asked you in my previous post, I want to read username and lastupdate only from /etc/security/passwd and write the same data to another file:
The data in /etc/security/passwd will be in this form for example:
smith:
password = MGURSj.F056Dj
lastupdate = 623078865
flags =... (0 Replies)
Discussion started by: me_haroon
0 Replies
10. UNIX for Dummies Questions & Answers
Hi Everyone,
Whenever someone uses the finger command against my username, he.she gets my info. Is there a way to find who ran the command against my username, somewhat like a log file for the finger command. I would be greatful if someone to clear my query.
Regards
Anirudh Koul... (3 Replies)
Discussion started by: anirudhkoul
3 Replies
chsh(1) General Commands Manual chsh(1)
NAME
chsh - change default login shell
SYNOPSIS
login-name [shell]
login-name [shell]
login-name [shell]
login-name [shell]
DESCRIPTION
The command changes the login-shell for a user's login name in the repository (see passwd(1)).
The DCE repository is only available if Integrated Login has been configured; see auth.adm(1M). If Integrated Login has been configured,
other considerations apply. A user with appropriate DCE privileges is capable of modifying a user's shell; this is not dependent upon
superuser privileges.
If the repository is not specified (as in [login-name]), the login shell is changed in the file only.
Run after running to make sure the information was processed correctly.
Notes
The command is a hard link to the command. When is executed, actually the command gets executed with appropriate arguments to change the
user login shell in the repository specified in command line. If no repository is specified, the login shell is changed in the file.
Arguments
login-name A login name of a user.
shell The absolute path name of a shell. If the file exists, the new login shell must be listed in that file. Otherwise, you
can specify one of the standard shells listed in the getusershell(3C) manual entry. If shell is omitted, it defaults to
the POSIX shell,
Options
The following option is recognized:
Specify the repository to which the operation is to be applied.
Supported repositories include and
Security Restrictions
You must have appropriate privileges to use the optional login-name argument to change another user's login shell.
NETWORKING FEATURES
NFS
File can be implemented as a Network Information Service (NIS) database.
EXAMPLES
To change the login shell for user to the default:
To change the login shell for user to the C shell:
To change the login shell for user to the Korn shell in the DCE registry:
WARNINGS
If two or more users try to write the file at the same time, a passwd locking mechanism was devised. If this locking fails after subse-
quent retrying, terminates.
AUTHOR
was developed by HP and the University of California, Berkeley.
FILES
SEE ALSO
chfn(1), csh(1), ksh(1), passwd(1), sh(1), sh-posix(1), getusershell(3C), pam(3), passwd(4), shells(4).
chsh(1)