not quite. But your hint was, I guess, good:

Script started on Fri Feb 01 16:45:21 2008
bash: /root/.bashrc: Permission denied
bash-3.2$ whoami
testo
bash-3.2$ pwd
/export/home/testo
bash-3.2$ ls -l
total 168538
drwx------   2 testo    staff        512 Feb  1 13:43 Mail
-rw-------   1 testo    staff    86208726 Feb  1 13:42 core
-rw-r--r--   1 testo    staff      17341 Feb  1 13:38 firefox_dump
-rw-r--r--   1 testo    staff       1599 Feb  1 16:41 permi
-rw-r--r--   1 testo    staff          0 Feb  1 16:45 permis
-rw-r--r--   1 testo    staff          9 Feb  1 16:38 test
bash-3.2$ ls -la
total 170326
drwxr-xr-x  13 testo    staff       1024 Feb  1 16:45 .
drwxr-xr-x   5 root     root         512 Dec 26 17:15 ..
-rw-------   1 testo    staff        407 Feb  1 13:42 .ICEauthority
-rw-------   1 testo    staff         71 Feb  1 16:20 .TTauthority
-rw-------   1 testo    staff        147 Feb  1 16:20 .Xauthority
-rw-------   1 testo    staff        169 Feb  1 13:49 .bash_history
drwxr-xr-x  12 testo    staff        512 Feb  1 16:20 .dt
-rwxr-xr-x   1 testo    staff       5111 Feb  1 13:33 .dtprofile
-rw-r--r--   1 testo    staff     884497 Feb  1 13:42 .fonts.cache-1
drwx------   2 testo    staff        512 Feb  1 13:42 .gconf
drwx------   2 testo    staff        512 Feb  1 13:42 .gconfd
drwx------   4 testo    staff        512 Feb  1 13:42 .gnome2
drwx------   2 testo    staff        512 Feb  1 13:34 .gnome2_private
drwxr-xr-x   2 testo    staff        512 Feb  1 13:42 .gstreamer-0.10
-rw-r--r--   1 testo    staff         94 Feb  1 13:42 .gtkrc-1.2-gnome2
drwx------   3 testo    staff        512 Feb  1 13:34 .mozilla
drwx------   2 testo    staff        512 Feb  1 13:49 .ssh
drwxr-xr-x   3 testo    staff        512 Feb  1 13:36 .staroffice8
drwx------   3 testo    staff        512 Feb  1 13:46 .sunw
drwx------   2 testo    staff        512 Feb  1 13:43 Mail
-rw-------   1 testo    staff    86208726 Feb  1 13:42 core
-rw-r--r--   1 testo    staff      17341 Feb  1 13:38 firefox_dump
-rw-r--r--   1 testo    staff       1599 Feb  1 16:41 permi
-rw-r--r--   1 testo    staff          0 Feb  1 16:45 permis
-rw-r--r--   1 testo    staff          9 Feb  1 16:38 test
bash-3.2$ echo Nonsense > testo
bash-3.2$ ls -l testo
-rw-r--r--   1 testo    staff          9 Feb  1 16:46 testo
bash-3.2$ cat testo
Nonsense
bash-3.2$ cd
bash: cd: /root: Permission denied
bash-3.2$ tail /etc/passwd
listen:x:37:4:Network Admin:/usr/net/nls:
gdm:x:50:50:GDM Reserved UID:/:
webservd:x:80:80:WebServer Reserved UID:/:
postgres:x:90:90:PostgreSQL Reserved UID:/:/usr/bin/pfksh
svctag:x:95:12:Service Tag UID:/:
nobody:x:60001:60001:NFS Anonymous Access User:/:
noaccess:x:60002:60002:No Access User:/:
nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/:
udippel:x:101:10:Uwe Dippel:/export/home/udippel:/bin/bash
testo:x:102:10::/export/home/testo:/bin/bash
bash-3.2$ exit
script done on Fri Feb 01 16:46:51 2008

You see, testo is in his home, can write to a (new) file and all his files are 
his.
But there are two strange lines:
bash-3.2$ cd
bash: cd: /root: Permission denied
even though testo is in his home. Where does this last strange line come from? 
It also was there at the start of the script.

Since I have just only done an update, it must be a snag resulting from nv81.

Also, the permission problem might be at the source of the strange error of 
webconsole not starting?

Still without clue, but much closer, I feel... .

Uwe
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to