If you edit the the password file while someone is logged in it is not going
to cause any problems. The next time the person opens a shell then they will
receive the new shell.


Yes you can use gedit or something like that but you should really use vipw.
The one thing with this is that it does require you to know VI to edit the
file.



On Sat, Aug 2, 2008 at 4:36 PM, andrew <[EMAIL PROTECTED]> wrote:

> The default shell for each user is stored in the /etc/passwd file on the
> end of each line. Change into single user mode (init S) then edit the passwd
> file using vi (vi /etc/passwd and change it.
>
> That's the safe, recommended way to do it. If you like to live dangerously,
> you can simply make sure you're the only person logged in and do this in a
> terminal window:
>
> su
> (enter root password)
> gedit /etc/passwd &
>
> Then edit the passwd file in the Gnome text editor (gedit).
>
> Cheers
>
> Andrew.
>
>
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-help mailing list
> [email protected]
>
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to