12-11-2013
History is shell-dependent, but usually goes into $HISTFILE = ~/.shell_hist or the like; see your shell's man page. You can zap the fille and start a new shell. Just removing one command or line is a bit more difficult. It sounds hacker-esque. History is great! Don't ever put passwords on the command line, generally. Put them in env vars, in piped streams, but not where ps can report them and $HISTFILE records them.
All keys are serial, UNIX does not need activation, so I am getting confused.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I am using SCO Unixware 2.1 & some PC clients are connected, suddenly one message appearslike :
UX:strintercept error: dropping message
this message starts coming repeatedly & agtre some time system hangs.I had to reset the system & now the problem is not there.Please suggest, why this is... (0 Replies)
Discussion started by: paprch
0 Replies
2. IP Networking
I changed the IP whit Ifconfig and I used ping to test the conetions the conection is rigth on my LAN (NetA)
But, I have two networks for example:
NetA route to NetB and vicevers
On NetB ping to any machine on NetA, it is respons successfully. but I ping to UNIX server no respons.
I... (1 Reply)
Discussion started by: lmena
1 Replies
3. UNIX for Advanced & Expert Users
I have a Unixware OS and a HP Business Inkjet printer. I am unable to print from Unixware in landscape mode. I have tried filters and have failed every time. Any advice would be greatly appreciated. (6 Replies)
Discussion started by: sb4best
6 Replies
4. SCO
Hello,
I am having performance problem when , i ported a c code from Unixware 2.1 to Unixware 7.0.0.
My program establishes a synchornous connection with the client in a windows OS and then sends and receives messsages using the recv and send calls.
What i hyave noticed is that after a... (0 Replies)
Discussion started by: Amith
0 Replies
5. UNIX for Dummies Questions & Answers
msg:
vfs_mountroot:cannot mount root
%%%%%%
system don't start (0 Replies)
Discussion started by: hushboy
0 Replies
6. SCO
Dear All,
I have a HP Netserver LH3 server which has unixware 7 os with oracle. Suddenly it shows a error message that " Raw Stack Dump beigns at 0xFFFDABIC...
Generating Selective dump
Storing system memory image for crash analysis....
#scanning memory....dumping to disk
(Press any key to... (0 Replies)
Discussion started by: mr.chiranjib
0 Replies
7. SCO
High,
I have a simulator application running on unixware 2.1, there are no original installation CDs for the application. is it possible to copy directories and configuration files, related to the installed application, from unixware 2.1 to other system running Unixware 7.1.1 (replacing Unixware... (0 Replies)
Discussion started by: fareedah
0 Replies
8. SCO
Hi,
I need help for SCO UNIXWARE 7.1.0.
During booting it is detecting the network card (Intel PRO 100B /100+) but it is giving error : "UX:S69inet:error".
Hence network is not getting up.
I have tried with another network card (D-Link DFE 538TX) but unable to get the proper driver for the... (1 Reply)
Discussion started by: hcl.rajat
1 Replies
9. News, Links, Events and Announcements
So, I was browsing groklaw.net, and I was surprised to read that Pamela Jones was reading the copyright notices in the UnixWare 7.1.1 source code files...
Groklaw - Santa Cruz Listed Novell as Owning the Copyrights in 1999
How can that be? Are the UnixWare 7.1.1 sources available to the... (1 Reply)
Discussion started by: pepinox
1 Replies
10. Homework & Coursework Questions
1.) I am to write scripts that will be phasetest folder in the home directory.
2.) The folder should have a set-up,phase and display files
I have written a small script which i used to check for the existing users and their password.
What I need help with:
I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 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)