03-14-2011
Quote:
Originally Posted by
howdini
I was testing it with passwd and was unable to control the input and output correctly.
Quote:
Originally Posted by
Corona688
Only things like interactive editors and login systems check isatty().
It's no mystery why passwd refuses to work with pipes. I also warned that interactive programs would do this.
5 More Discussions You Might Find Interesting
1. Linux
hello,
can any body tell how to use terminal emulator....
i want to check he serial port communication with the help of that terminal emmulator....
also tell me how to open terminal emmulator.....and how to configure it........and how to use it...
I am using fedora core 6..... (1 Reply)
Discussion started by: arunchaudhary19
1 Replies
2. UNIX for Advanced & Expert Users
hi all,
i'm trying to write a unix system from scratch (not re-writing the kernel)
does anyone have information about that? tips and stuff...?i would appreciate every help,
thnks :) (9 Replies)
Discussion started by: elzalem
9 Replies
3. UNIX for Advanced & Expert Users
Hey,
Had anyone tried with writing a new FS - file system ( whether its useful or not, that doesn't matter ) ?
I tried one couple of years ago, but that was a fatal failure :( and can't continue working on it since then. :(
Anybody got some experience with writing file system from the... (4 Replies)
Discussion started by: matrixmadhan
4 Replies
4. Solaris
Hello Expert! :b:
Question for you guys, Can anyone tell me how to use terminal emulator on Windows XP to view Solaris config? I have no idea on Solaris and the only thing I could do is to boot it up. Honestly, I have given a tasked to delete all the files and some necessary memory information... (2 Replies)
Discussion started by: katsloko
2 Replies
5. UNIX for Dummies Questions & Answers
Hi, I was just wondering how to distinguish between the two terms:
1. Terminal emulator (vt100, vt220 and so on)
2. shell command line
Then i decided to conclude myself that these 2 are very equivalent. am I right? this actually came to my mind when I was using my HP-UX terminal.
I am... (1 Reply)
Discussion started by: messi777
1 Replies
CHSH(1) User Commands CHSH(1)
NAME
chsh - change login shell
SYNOPSIS
chsh [options] [LOGIN]
DESCRIPTION
The chsh command changes the user login shell. This determines the name of the user's initial login command. A normal user may only change
the login shell for her own account; the superuser may change the login shell for any account.
OPTIONS
The options which apply to the chsh command are:
-h, --help
Display help message and exit.
-s, --shell SHELL
The name of the user's new login shell. Setting this field to blank causes the system to select the default login shell.
If the -s option is not selected, chsh operates in an interactive fashion, prompting the user with the current login shell. Enter the new
value to change the shell, or leave the line blank to use the current one. The current shell is displayed between a pair of [ ] marks.
NOTE
The only restriction placed on the login shell is that the command name must be listed in /etc/shells, unless the invoker is the superuser,
and then any value may be added. An account with a restricted login shell may not change her login shell. For this reason, placing /bin/rsh
in /etc/shells is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell
back to its original value.
FILES
/etc/passwd
User account information.
/etc/shells
List of valid login shells.
/etc/login.defs
Shadow password suite configuration.
SEE ALSO
chfn(1), login.defs(5), passwd(5).
User Commands 06/24/2011 CHSH(1)