10-28-2005
Boot interaction
Hi Plimpix,
Thanks for your kind reply.
My Machine is not Networked. Just a work station (c200 HP-UX 9000 running on OS 11i).
As mentioned in my previous Thread, I am having difficulty interruping the Boot Proocess soon after powering up my mchine by using the "Esc" key.
I am hoping to break up the Boot Process so that I can login as a none root and to change the root password, perhaps to resolve this and not to get the messge below when I login as a root through the CDE:
"account locked in the commercial security database"
Currently, I turn power ON, kernel gets loaded, CDE appears ready to login and when I do login as a root I get the above message.
I will look at the links you mentioned, but will be a very happy man if I could stop the Kernel loading soon after poweing up my machine.
Hope this help you and the good people out there for suggesting a solutions.
Cheers
M.H
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can anybody tell me how can I create an account without having to enter the password after editing the vipw file. I mean the system should automatically take care of the password encryption in the shadow file and I don't to enter the password again and the Account should be ready to go.
... (3 Replies)
Discussion started by: syedifti
3 Replies
2. Programming
hi there, i need help :( im trying to produce a program that would do the following, but i dont know were to begin, any help/guide lines, please im need help asap,
One program is the main program, which fork/execs one referee process and
three x,y,z processes repectvley. It then waits until... (0 Replies)
Discussion started by: zmanultra
0 Replies
3. Shell Programming and Scripting
in a ksh script, i want to process
some string variables using awk,
and then i want to go on using this variables
in the same ksh (out of awk lines)
can anybody send me a very simple example about this? (0 Replies)
Discussion started by: gfhgfnhhn
0 Replies
4. Shell Programming and Scripting
I'm wanting to get user interaction...textbox or checkboxes would be great. I want to allow someone to enter data into textbox. (this is the time I want to grab a photo from) Then I want to be able to check the different sizes I want for the image. Say 4 options.
Is this possible using the... (0 Replies)
Discussion started by: mainegate
0 Replies
5. Shell Programming and Scripting
Hi All, I have been trying to get an Expect program to communicate with a Remote Power Switch which will eventually log in, and then turn on/off certain outlets. For some reason, I can't get through the log in procedure with this Switch. When you first spawn the telnet, you get the Switch... (1 Reply)
Discussion started by: mrjgs70
1 Replies
6. Shell Programming and Scripting
Hi I have a script which is coming up with errors when I iterate over a list of database names. When I print out the values it shows a title & underline...if I then attach "hi" to the print out I get :
hi
TBS_SVC_NAME hi
------------------------------ hi
bkahepa hi
hi
echo "select... (14 Replies)
Discussion started by: Dird
14 Replies
7. UNIX for Advanced & Expert Users
If I use to PAM to validate a vsftp user using a remote service to do the validation and the user does not exist on the system locally, then what becomes the home directory for the user logging in via vsftp?
Assuming that chroot_user_list is enable to limit all users to their home directory. (0 Replies)
Discussion started by: ChrisC
0 Replies
8. Shell Programming and Scripting
Sorry for my english!
I'm using Debian squeeze and for an assignement, i have create 2 virtual pdf cups printers. Both are working very well.
To test the different administion command; i try to disable one of the printer and move his queue file to the second one. I'm able to do it easily.
... (4 Replies)
Discussion started by: lyapma
4 Replies
9. Shell Programming and Scripting
Hi,
I am trying to ssh into a remote machine and then enter a vserver on the remote machine. I am using here document to carry out these commands on the remote machine. My here document looks like this
ssh username@remotemachine << HERE
sudo vserver vservername enter
HERE
however the sudo... (0 Replies)
Discussion started by: mnanavati
0 Replies
10. Shell Programming and Scripting
Hello everybody,
I isolated an issue: please try the following script (under AIX)
#!/usr/bin/ksh93
echo "Before Perl: \c"
read line
echo "|$line|"
perl -e 'print "Perl invocation";'
echo
echo "After Perl: \c"
read line
echo "|$line|"
On the first input, type Ctrl-D. It works... (13 Replies)
Discussion started by: jlovi
13 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.
-R, --root CHROOT_DIR
Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory.
-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).
shadow-utils 4.5 01/25/2018 CHSH(1)