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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
: 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...
相关阅读
如何获取历史命令How to monitor peak memory usage?如何让UNIX的机器和WINDOWS XP的机器之间实现共享?Help about Xwin32 in Windows 2000!SunOS和solaris之间的版本关系是什么?问题,急急: another批量替换Re: can I install fonts to view Chinesehow to run an.exe file under unix请问IRIX6.5下怎么改系统的时间?[转载] 请问excel的null是什么符号?那个Unix下画图的软件?Re: How to transfer a series of files betw..[转载] sftp是否能断点续传?急,定时运行程序的问题Solaris下是不是本能访问ext3分区了?How to view excel file in unix?which command to allocate a file undercan I install fonts to view Chinese in Unix?求教:放在UNIX上的中文网页为什么不能正常浏览?