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 login shell
SYNOPSIS
chsh [-D binddn] [-P path] [-s shell] [-l] [-q] [-u] [-v] [user]
DESCRIPTION
chsh is used to change the user login shell. A normal user may only change the login shell for their own account, the super user may
change the login shell for any account.
If a shell is not given on the command line, chsh operates in an interactive fashion, prompting the user with the current login shell.
Enter the new value to change the field, or leave the line blank to use the current value. Enter none to remove the current value. The
current value is displayed between a pair of [ ] marks.
The only restrictions placed on the login shell is that the command name must be listed in /etc/shells, unless the invoker is the super-
user, and then any value may be added. An account with a restricted login shell may not change their login shell.
This version of chsh is able to change the shell of local, NIS, NIS+ and LDAP accounts , if the permissions allow it.
OPTIONS
-D, --binddn binddn
Use the Distinguished Name binddn to bind to the LDAP directory. The user will be prompted for a password for simple authentica-
tion.
-P, --path path
The passwd file is located below the specified directory path. chsh will use this files, not /etc/passwd. This is useful for exam-
ple on NIS master servers, where you do not want to give all users in the NIS database automatic access to your NIS server and the
NIS map is build from special files.
-s, --shell
Specify your login shell.
-l, --list-shells
Print the list of shells listed in /etc/shells and exit.
-q, --quite
Don't be verbose.
-u, --usage
Print a usage message and exit.
--help
Print a more verbose help text and exit.
-v, --version
Print version information and exit.
FILES
/etc/passwd - user account information
/etc/shells - list of valid login shells
SEE ALSO
chfn(1), passwd(5), shells(5)
AUTHOR
Thorsten Kukuk <kukuk@suse.de>
pwdutils February 2004 chsh(1)