Mailinglist Archive: opensuse (4208 mails)
| < Previous | Next > |
Re: [SLE] changing the root's shell
- From: Jerry Feldman <gaf@xxxxxxx>
- Date: Thu, 1 Jul 2004 08:59:46 -0400
- Message-id: <20040701085946.74292302@xxxxxxxxxxx>
On Tue, 29 Jun 2004 15:30:12 -0300
Miguel Angelo Rozsas <rozsas@xxxxxxxxxxxxxxx> wrote:
> In a "standard" linux (Solaris, SunOS, RedHat, Fedora, Conectiva),
> changing the 7th (the last one) field of /etc/passwd, you change the
> shell. Try your self ! On SuSE, changing the shell field by a direct
> edit on /etc/passwd you won't change the shell ! I triple check that
> before post this message....
Solaris and SunOS are Unices, not Linux.
BTW: I edited my /etc/passwd file, using the vipw command, and changed
the shell from tcsh (which I had previously set with chsh) to bash,
shutdown, rebooted, and bash was still there. Then I edited /etc/passwd
with vi (not using the vipw command), changed it to tcsh and rebooted.
Upon startup, I checked the value in /etc/passwd and it was tcsh as I
expected. And, as a final time, I changed it back to bash and rebooted.
The only reason for the reboot was try to do the same thing you did. My
thoughts are possibly that suseconfig might be the culprit in your case.
Also, I think your impression of "standard" Linux is all wrong. Since
8.2, I think that SuSE has been very close to the LSB standard. One
difference between the various Unix and Linux systems is the way one
does system admin. Red Hat does it their way and SuSE does it their way
as does Burger King. Solaris does it their way, HP-UX does it
differently, Tru64 Unix is also different.
--
Jerry Feldman <gaf@xxxxxxx>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
Miguel Angelo Rozsas <rozsas@xxxxxxxxxxxxxxx> wrote:
> In a "standard" linux (Solaris, SunOS, RedHat, Fedora, Conectiva),
> changing the 7th (the last one) field of /etc/passwd, you change the
> shell. Try your self ! On SuSE, changing the shell field by a direct
> edit on /etc/passwd you won't change the shell ! I triple check that
> before post this message....
Solaris and SunOS are Unices, not Linux.
BTW: I edited my /etc/passwd file, using the vipw command, and changed
the shell from tcsh (which I had previously set with chsh) to bash,
shutdown, rebooted, and bash was still there. Then I edited /etc/passwd
with vi (not using the vipw command), changed it to tcsh and rebooted.
Upon startup, I checked the value in /etc/passwd and it was tcsh as I
expected. And, as a final time, I changed it back to bash and rebooted.
The only reason for the reboot was try to do the same thing you did. My
thoughts are possibly that suseconfig might be the culprit in your case.
Also, I think your impression of "standard" Linux is all wrong. Since
8.2, I think that SuSE has been very close to the LSB standard. One
difference between the various Unix and Linux systems is the way one
does system admin. Red Hat does it their way and SuSE does it their way
as does Burger King. Solaris does it their way, HP-UX does it
differently, Tru64 Unix is also different.
--
Jerry Feldman <gaf@xxxxxxx>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
| < Previous | Next > |