| glz 回复于:2002-03-27 16:33:59 |
| 用 #echo $SHELL 你就能看到 ![]() |
| sjpz 回复于:2002-03-28 10:59:22 |
| 好像是k shell |
| liangweijun 回复于:2002-03-28 13:40:20 |
| 可以修改的,在mkuser建立用户的时候,有几个默认值包括shell,home等。需要编辑 /etc/securit/mkuser.default文件,内容如下: user: pgrp = staff groups = staff shell = /usr/bin/ksh home = /home/$USER admin: pgrp = system groups = system shell = /usr/bin/ksh home = /home/$USER 可以看到系统默认的shell是/usr/bin/ksh,你可以修改这些默认属性的。 |
| neo2718 回复于:2002-03-28 22:11:21 |
| 受权限的限制,看不见/etc/security中有什么文件,能告诉我吗? |
| jinyingtao 回复于:2002-07-31 12:23:22 |
| 是ksh 可以利用smit user修改,也可以vi /etc/security/mkuser.default文件 |
| andylzj 回复于:2002-07-31 13:21:17 |
| /usr/lib/security/mkuser.default |
| strock 回复于:2002-08-01 09:52:32 |
| ps 不就看到了吗,是 ksh |
| builder 回复于:2002-11-06 10:33:38 |
| 好像还可以用 passwd -s 来查询和改变 |
| lljj 回复于:2002-11-06 11:30:32 |
| [quote][b]下面引用由[u]neo2718[/u]在 [i]2002/03/28 10:11pm[/i] 发表的内容:[/b] 受权限的限制,看不见/etc/security中有什么文件,能告诉我吗? [/quote] /etc/security>ls -l total 368 -rw------- 1 root security 13 Sep 11 15:57 .ids -rw-rw---- 1 root security 254 Apr 09 2001 .profile drwxr-x--- 2 root audit 512 Mar 21 2002 audit -rw-r----- 1 root security 60 Apr 09 2001 environ -rw-r--r-- 1 root system 16848 Nov 06 09:14 failedlogin -rw-r----- 1 root security 405 Oct 29 16:12 group -rw-r----- 1 root security 2113 Nov 06 10:08 lastlog drwxr-xr-x 2 root security 512 Mar 21 2002 ldap -rw-r----- 1 root security 1310 Apr 09 2001 limits -rw-rw---- 1 root security 3907 Oct 23 09:57 login.cfg -rw-r----- 1 root security 394 Oct 29 16:12 ogroup -rw------- 1 root security 373 Sep 11 15:57 opasswd -rw-r----- 1 root security 10146 Oct 29 16:12 ouser -rw-r----- 1 root security 19 Oct 29 16:12 ouser.roles -rw------- 1 root security 373 Sep 11 15:57 passwd -rw-r----- 1 root security 656 Apr 09 2001 portlog -rw-r----- 1 root security 928 Jun 22 2001 roles -rw-r----- 1 root security 28 Apr 09 2001 smitacl.group -rw-r----- 1 root security 55 Apr 09 2001 smitacl.user -rw-r----- 1 root security 69090 Mar 21 2002 sysck.cfg -rw-r----- 1 root security 10165 Oct 29 16:12 user -rw-r----- 1 root security 48 Oct 29 16:12 user.roles |
| bjchenxu 回复于:2003-08-26 15:00:40 |
| 我在linux看了hou007问的问题,比较基础的,同时看到他有一篇精华,非常奇怪,就看了看这个帖子,发现:不是“精华”,应该时“精彩回帖”吧,请版主纠正,谢谢 |
| topisdn 回复于:2003-09-16 16:05:03 |