08-10-2001
7 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
I just wanted to share this piece of news to all of you, comments are unnecessary :)
http://news.com.com/2100-1001-872266.html (1 Reply)
Discussion started by: J.P
1 Replies
2. What is on Your Mind?
hello everyone,
just wanted to tell all you people about a site that we have been hosting for some time called "http://www.laynetworks.com". this site contains lots of tutorials and information regarding Unix, linux, protocols, networking etc.
this site is free and is maintained by students.... (0 Replies)
Discussion started by: ashish-m6.net
0 Replies
3. UNIX for Dummies Questions & Answers
Hi Folks,
As I'm looking for a Tutorial | Reference site for UNIX commands | Basic scripting terms. >>i.e in VI to insert (:i) and save and quit (:wq!), pipe-ing and so forth...
I really need to refresh my skills from like 4 years ago as I've been doing too much windows.
Appreciate any... (2 Replies)
Discussion started by: Mombo_Z
2 Replies
4. Shell Programming and Scripting
Hi unixers, :)
I found some Good sites for learning Shell Programming.
I Hope they will be useful to all of You.
http://steve-parker.org/forum/
http://www.e-learningcenter.com/freecourses.htm
similarly ,if u find any very good sites for shell programming pls post them,
so that they will... (6 Replies)
Discussion started by: ravi raj kumar
6 Replies
5. Shell Programming and Scripting
Hi,
I want to learn unix shell programming. If anyone knows any good site where i can get shell programming qs and ans for my practice ... please suggent.
Thanks,
Soumya (2 Replies)
Discussion started by: soumya02573
2 Replies
6. Programming
Hi All,
Can anyone help me for knowing the java best side forums. where i will get a quick responce like here , as i am having lot of question.
Thanks (1 Reply)
Discussion started by: aish11
1 Replies
7. Post Here to Contact Site Administrators and Moderators
Hello MODs/Admins,
Could you please help me here as from last 6 to 7 days I(and checked with my fellow friends too) am not able to access unix.com site at all. It is very very slow, it never loads completely. Even I checked with different people and different computers it results same only,... (8 Replies)
Discussion started by: RavinderSingh13
8 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)