08-23-2011
Thanks guys, it worked like a charm. Had I been near you, I would have bought you guys ice cream for sure!!!!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am new to UNIX hence the question. Most of the time when I have an environment set up for me to develop my systems, I have had my ID logon and I can edit the .profile for my account and it understand commands korn shell. It seems this machine, a new SUN machine, was setup with users getting the... (3 Replies)
Discussion started by: klarue7
3 Replies
2. Shell Programming and Scripting
Hi
there is something I don't understand with the repeated element. With the following command I have a weird output:
:confused:
while I thought the output would be
I really don't understand why 2 "a" are skipped. Might someone explain please? (5 Replies)
Discussion started by: xib.be
5 Replies
3. Solaris
Hi,
I use to work on solaris via putty
and always on session start
- i use to increase the font to 14 bold
- capture session output to a file
my requirement) to make these changes permanent, so that i need not to change the settings everytime i connect via putty
please advice.
... (0 Replies)
Discussion started by: saurabh84g
0 Replies
4. Shell Programming and Scripting
I have folders like as below format. I need to apply the 755 mode for '.sh' format only. I am using the below command to apply the changes. But it's affecting first level only. How to apply the changes recursively in .sh file only?
Please suggest the command.
Thanks
chmod 755 -R *.sh
... (8 Replies)
Discussion started by: k_manimuthu
8 Replies
5. Shell Programming and Scripting
hii all,
I am unable to login into GUI mode in solaris 10. It is only prompting me to command mode credentials not going further to GUI mode.. Please help..
Thanks & regards,
Bhagi (3 Replies)
Discussion started by: bhargav90
3 Replies
6. Fedora
Whenevr i am trying to access ROOT file in Fedora 15 by double clicking, its showing I dont have enough permission to access it and its not showing the inside access... How to solve it?? (4 Replies)
Discussion started by: amisubha
4 Replies
7. Solaris
I have a v490 server running Solaris 10.
Everytime I reboot this machine, the console-login service goes to maintainance mode and I have to provide the root password. All the other dependencies are running fine and nothing there in the logs too. To bring it online, I have to enable it manually.
... (1 Reply)
Discussion started by: aksijain
1 Replies
8. Solaris
Solaris 10
trying to patch and therefore want to do this from single user mode
I do a init 0
get's me to ok> :)
ok> boot -s
I was a UK Sun Field Engineer for 10 years ..... I've used "boot -s " quite a bit .....
I get a console login , which I subsequently login into
#who... (13 Replies)
Discussion started by: Martincorneuk
13 Replies
9. Linux
Hi Guys
After installing my CentOS in virtual machine i am not able to get the graphical mode. By default it is going in TUI mode.
Please help how to get the graphical mode by default.
I am already in init 5.....
Thanks...:wall: (1 Reply)
Discussion started by: deviltech
1 Replies
10. Red Hat
Hi Guys
Required help in Redhat 6.1.
After installation of Redhat 6.1 in VMware system is not going in GUI mode.
please to solve the issue...
Thanks... (5 Replies)
Discussion started by: deviltech
5 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)