diff options
| author | gww <none@none> | 2008-03-18 14:09:15 -0700 |
|---|---|---|
| committer | gww <none@none> | 2008-03-18 14:09:15 -0700 |
| commit | 5f6d439ce56ae78adffd6d53233e74924f5962ba (patch) | |
| tree | ba06b11d02e2c392642a601779cd21e1f672fa07 /usr/src | |
| parent | 1b24378ce424258d555f0363de97728c68c862ce (diff) | |
| download | illumos-joyent-5f6d439ce56ae78adffd6d53233e74924f5962ba.tar.gz | |
PSARC/2003/039 Alternate home directory for root user
4960338 want to change root's home directory
Diffstat (limited to 'usr/src')
| -rw-r--r-- | usr/src/Targetdirs | 5 | ||||
| -rw-r--r-- | usr/src/cmd/Adm/sun/passwd | 2 | ||||
| -rw-r--r-- | usr/src/pkgdefs/SUNWcsr/prototype_com | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/usr/src/Targetdirs b/usr/src/Targetdirs index 4a1a2dddd9..ef5fb8e3d0 100644 --- a/usr/src/Targetdirs +++ b/usr/src/Targetdirs @@ -133,6 +133,7 @@ ROOT.SYS= \ /opt \ /platform \ /proc \ + /root \ /sbin \ /system \ /system/contract \ @@ -543,6 +544,8 @@ $(ROOT)/var/adm/sa := DIRMODE= 775 $(ROOT)/var/idmap := OWNER= daemon $(ROOT)/var/idmap := GROUP= daemon +$(ROOT)/root:= GROUP= root + $(ROOT)/dev/term:= GROUP= root $(UUCP.UUCP:%=$(ROOT)%):= OWNER= uucp @@ -586,6 +589,8 @@ $(ROOT)/var/spool/pkg \ $(ROOT)/var/spool/uucppublic \ $(ROOT)/var/tmp:= DIRMODE= 1777 +$(ROOT)/root:= DIRMODE= 700 + $(ROOT)/var/krb5/rcache/root:= DIRMODE= 700 $(ROOT)/etc/sfw/openssl/private:= DIRMODE= 700 diff --git a/usr/src/cmd/Adm/sun/passwd b/usr/src/cmd/Adm/sun/passwd index a5240e01ea..ded8c1c9cc 100644 --- a/usr/src/cmd/Adm/sun/passwd +++ b/usr/src/cmd/Adm/sun/passwd @@ -1,4 +1,4 @@ -root:x:0:0:Super-User:/:/sbin/sh +root:x:0:0:Super-User:/root:/sbin/sh daemon:x:1:1::/: bin:x:2:2::/usr/bin: sys:x:3:3::/: diff --git a/usr/src/pkgdefs/SUNWcsr/prototype_com b/usr/src/pkgdefs/SUNWcsr/prototype_com index e750457f24..21df5b74d4 100644 --- a/usr/src/pkgdefs/SUNWcsr/prototype_com +++ b/usr/src/pkgdefs/SUNWcsr/prototype_com @@ -391,6 +391,7 @@ f none lib/svc/share/smf_include.sh 0444 root bin d none mnt 755 root sys d none opt 755 root sys d none proc 555 root root +d none root 700 root root d none sbin 755 root sys f none sbin/autopush 555 root bin f none sbin/bootadm 555 root bin |
