M*n
2 楼
SunOS, the 'chsh' command in linux dosen't work.
who can tell me the corresponding command on UNIX?
who can tell me the corresponding command on UNIX?
k*o
3 楼
我用web,我觉得term才落后吧
q*g
11 楼
Until you undertand why passwd changes not only your password,
but also your login shell, and why you have to use "kill" to send
any innocent signals to one of your precious processes, you can not
say you understand what is so called ....
The UNIX philosophy
hehe.
【在 M*******n 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: not change passwd, I want to change the shell
:
: Try passwd -e. See man page.
but also your login shell, and why you have to use "kill" to send
any innocent signals to one of your precious processes, you can not
say you understand what is so called ....
The UNIX philosophy
hehe.
【在 M*******n 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: not change passwd, I want to change the shell
:
: Try passwd -e. See man page.
n*s
12 楼
Not MildSeven's fault. I use the same Solaris network and "passwd -e" doesn't
work here. It turns out we have to use a special user account management
interface to change the shell.
【在 q*****g 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: Until you undertand why passwd changes not only your password,
: but also your login shell, and why you have to use "kill" to send
: any innocent signals to one of your precious processes, you can not
: say you understand what is so called ....
: The UNIX philosophy
: hehe.
work here. It turns out we have to use a special user account management
interface to change the shell.
【在 q*****g 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: Until you undertand why passwd changes not only your password,
: but also your login shell, and why you have to use "kill" to send
: any innocent signals to one of your precious processes, you can not
: say you understand what is so called ....
: The UNIX philosophy
: hehe.
q*g
13 楼
You see, this is yet another "feature" of UNIX: you never get bored
when you migrate from one UNIX to another .... Be prepared to be
surprised, hehe.
【在 n******s 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: Not MildSeven's fault. I use the same Solaris network and "passwd -e" doesn't
: work here. It turns out we have to use a special user account management
: interface to change the shell.
when you migrate from one UNIX to another .... Be prepared to be
surprised, hehe.
【在 n******s 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: Not MildSeven's fault. I use the same Solaris network and "passwd -e" doesn't
: work here. It turns out we have to use a special user account management
: interface to change the shell.
l*t
14 楼
haha, in IRIX there's a User Manager. it requires root, but then root
can edit /etc/passwd directly.
Not sure how a normal user could change his/her default shell...
【在 q*****g 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: You see, this is yet another "feature" of UNIX: you never get bored
: when you migrate from one UNIX to another .... Be prepared to be
: surprised, hehe.
can edit /etc/passwd directly.
Not sure how a normal user could change his/her default shell...
【在 q*****g 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: You see, this is yet another "feature" of UNIX: you never get bored
: when you migrate from one UNIX to another .... Be prepared to be
: surprised, hehe.
q*g
15 楼
Actually, there is a hack, suppose you don't need X stuff, then
put this line in your .login, or .cshrc, or whatever file that
your default shell loads whenever you login:
if ( -f /bin/bash ) exec /bin/bash --login
If you do want to use X from time to time, you need a bit more
trick. I am not an expert on that, but this line in my .bash_profile
may help you:
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/vc/1 ]; then
startx
fi
Of course, that was meant to automate startx not /bin/bash, but
the idea
【在 l******t 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: haha, in IRIX there's a User Manager. it requires root, but then root
: can edit /etc/passwd directly.
: Not sure how a normal user could change his/her default shell...
put this line in your .login, or .cshrc, or whatever file that
your default shell loads whenever you login:
if ( -f /bin/bash ) exec /bin/bash --login
If you do want to use X from time to time, you need a bit more
trick. I am not an expert on that, but this line in my .bash_profile
may help you:
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/vc/1 ]; then
startx
fi
Of course, that was meant to automate startx not /bin/bash, but
the idea
【在 l******t 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: haha, in IRIX there's a User Manager. it requires root, but then root
: can edit /etc/passwd directly.
: Not sure how a normal user could change his/her default shell...
c*t
16 楼
Never ever modify password file directly. Before you knew it, you could
have screwed up the system.
There are other things user could try, like 'chsh', 'ypchsh' etc. At
least, asking system admin is always an option.
【在 l******t 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: haha, in IRIX there's a User Manager. it requires root, but then root
: can edit /etc/passwd directly.
: Not sure how a normal user could change his/her default shell...
have screwed up the system.
There are other things user could try, like 'chsh', 'ypchsh' etc. At
least, asking system admin is always an option.
【在 l******t 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: haha, in IRIX there's a User Manager. it requires root, but then root
: can edit /etc/passwd directly.
: Not sure how a normal user could change his/her default shell...
相关阅读
help on: Solaris 8 network configurationHelp! 在unix系统下如何用CD-writer制作CD?HOw to find files hardlinked to a same inode?怎么把一个文件的每一行合并到另外一个文件的对应行?How to upgrade Solaris 2.5.1, 2.6 to Solaris 8?in expect, to send some character...Anybody downloaded solaris 8 for sparc successfully?[转载] 进程间通讯时共享内存问题 傻傻的:打印机文件放在哪?Some simple Unix questionsQuestion about telnetUnix底下分割和合并文件的命令是那个啊Where to download dbx?Re: problem about sgi origin 2000 and ibm sp求助:pthread_create的用法Where's emacs' private dictionary?请问哪能找到关于UNIX下C++编写GUI的资料或源代码Cannot change passwordRe: Ò»事不懂,虚心求教。qutstion: upgrade to solaris 2.8 , cdrom share..(continue)