-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

shawn wrote:
| I'd like to change my shell to bash (from ash) but can't using the
| following:
|
| chsh -s /bin/bash
| Changing shell for NewRedHatuser.
| Password:
| Shell not changed.
|
| How can I set it up to load bash for this local user at boot time?
|
| Shawn

The easy way:

usermod -s <path to shell> username

i.e.

usermod -s /bin/bash NewRedHatuser

The hacker way:

Use 'vipw' to edit the /etc/passwd file manually.

Your choice. :-)

HTH,
- -Rick
- --
Rick Johnson, RHCE - [EMAIL PROTECTED]
Linux/WAN Administrator - Medata, Inc.
PGP Public Key: https://mail.medata.com/pgp/rjohnson.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Signed and/or encpryted for everyone's protection.

iEYEARECAAYFAj4Lp5AACgkQIgQdhlSHZgMK8QCeLNWDyL8F5t+fJvVpsA7fZ03q
d1oAoK9ZYT+1Vc4OI1V4QOYEmoZBFMrf
=Fk67
-----END PGP SIGNATURE-----



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to