Add system users 43/4543/2
authorAnas Nashif <anas.nashif@intel.com>
Wed, 26 Jun 2013 13:52:09 +0000 (09:52 -0400)
committerAnas Nashif <anas.nashif@intel.com>
Fri, 28 Jun 2013 11:49:52 +0000 (07:49 -0400)
Change-Id: Iaa02728c04dfa5133f3c034919aa93b7fe426518
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
files/etc/csh.cshrc [deleted file]
files/etc/csh.login [deleted file]
files/etc/group
files/etc/motd
files/etc/passwd
packaging/setup.changes
packaging/setup.spec

diff --git a/files/etc/csh.cshrc b/files/etc/csh.cshrc
deleted file mode 100644 (file)
index bec85aa..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-# /etc/cshrc
-#
-# csh configuration for all shell invocations.
-
-# By default, we want this to get set.
-# Even for non-interactive, non-login shells.
-# Current threshold for system reserved uid/gids is 200
-# You could check uidgid reservation validity in
-# /usr/share/doc/setup-*/uidgid file
-if ($uid > 199 && "`id -gn`" == "`id -un`") then
-    umask 002
-else
-    umask 022
-endif
-
-if ($?prompt) then
-  if ($?tcsh) then
-    set promptchars='$#'
-    set prompt='[%n@%m %c]%# '
-    # make completion work better by default
-    set autolist
-  else
-    set prompt=\[$user@`hostname -s`\]\$\ 
-  endif
-endif
-
-if ( $?tcsh ) then
-       bindkey "^[[3~" delete-char
-endif
-
-bindkey "^R" i-search-back
-set echo_style = both
-set histdup = erase
-set savehist = (1024 merge)
-
-if ($?prompt) then
-  if ($?TERM) then
-    switch($TERM)
-      case xterm*:
-        if ($?tcsh) then
-         set prompt='%{\033]0;%n@%m:%c\007%}[%n@%m %c]%# '
-        endif
-        breaksw
-      case screen:
-        if ($?tcsh) then
-          set prompt='%{\033_%n@%m:%c\033\\%}[%n@%m %c]%# '
-        endif
-        breaksw
-      default:
-        breaksw
-    endsw
-  endif
-endif
-
-setenv MAIL "/var/spool/mail/$USER"
-
-# Check if we aren't a loginshell and do stuff if we aren't
-if (! $?loginsh) then
-    if ( -d /etc/profile.d ) then
-        set nonomatch
-        foreach i ( /etc/profile.d/*.csh )
-            if ( -r "$i" ) then
-                if ($?prompt) then
-                    source "$i"
-                else
-                    source "$i" >&/dev/null
-                endif
-            endif
-        end
-        unset i nonomatch
-    endif
-endif
diff --git a/files/etc/csh.login b/files/etc/csh.login
deleted file mode 100644 (file)
index 51902e8..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# /etc/csh.login
-
-# System wide environment and startup programs, for login setup
-
-#add sbin directories to the path
-foreach p ( /usr/local/sbin /usr/sbin )
-       switch (":${PATH}:")
-       case "*:${p}:*":
-               breaksw
-       default:
-               if ( $uid == 0 ) then
-                        set path = ( ${p} ${path:q} )
-               else
-                        set path = ( ${path:q} ${p} )
-               endif
-               breaksw
-       endsw
-end
-
-setenv HOSTNAME `/usr/bin/hostname`
-set history=1000
-
-if ( -d /etc/profile.d ) then
-        set nonomatch
-        foreach i ( /etc/profile.d/*.csh )
-                if ( -r "$i" ) then
-                               if ($?prompt) then
-                                     source "$i"
-                               else
-                                     source "$i" >& /dev/null
-                               endif
-                endif
-        end
-        unset i nonomatch
-endif
index d27107a..fd7b19d 100644 (file)
@@ -23,3 +23,34 @@ lock::54:
 audio::63:
 nobody::99:
 users::100:
+app:x:5000:
+developer:x:5100:
+testuser:x:5101:
+db_menu:x:6010:app
+crash:x:6828:app,developer
+db_alarm:x:6001:app
+db_browser:x:6002:app
+db_calendar:x:6003:app
+db_cc_list:x:6004:app
+db_contact:x:6005:app
+db_email_service:x:6006:app
+db_java_runtime:x:6007:app
+db_logs:x:6008:app
+db_memo:x:6009:app
+db_menu:x:6010:app
+db_msg_service:x:6011:app
+db_mtp:x:6012:app
+db_spkmgr:x:6013:app
+db_t9buffer:x:6014:app
+db_worldclock:x:6015:app
+db_sns:x:6016:app
+db_filemanager:x:6017:app
+db_daily_briefing:x:6018:app
+db_always:x:6019:app
+db_media_browser:x:6020:app
+db_music:x:6021:app
+db_drm:x:6022:app
+db_lbs_landmark:x:6023:app
+db_comm:x:6024:app
+db_quickpanel:x:6025:app
+db_wrt:x:6026:app
index e69de29..d33e573 100644 (file)
@@ -0,0 +1 @@
+Welcome to Tizen
index d8b0737..17cf032 100644 (file)
@@ -1,15 +1,15 @@
 root:*:0:0:root:/root:/bin/bash
 bin:*:1:1:bin:/bin:/sbin/nologin
 daemon:*:2:2:daemon:/sbin:/sbin/nologin
-adm:*:3:4:adm:/var/adm:/sbin/nologin
 lp:*:4:7:lp:/var/spool/lpd:/sbin/nologin
 sync:*:5:0:sync:/sbin:/bin/sync
 shutdown:*:6:0:shutdown:/sbin:/sbin/shutdown
 halt:*:7:0:halt:/sbin:/sbin/halt
 mail:*:8:12:mail:/var/spool/mail:/sbin/nologin
 uucp:*:10:14:uucp:/var/spool/uucp:/sbin/nologin
-operator:*:11:0:operator:/root:/sbin/nologin
 games:*:12:100:games:/usr/games:/sbin/nologin
-gopher:*:13:30:gopher:/var/gopher:/sbin/nologin
-ftp:*:14:50:FTP User:/var/ftp:/sbin/nologin
-nobody:*:99:99:Nobody:/:/sbin/nologin
+ftp:*:14:50:FTP User:/srv/ftp:/sbin/nologin
+nobody:*:99:99:Nobody:/var/lib/nobody:/sbin/nologin
+testuser:x:5101:5101:test user:/home/testuser:/bin/bash
+app:x:5000:5000:In-house application:/opt/home/app:/bin/bash
+developer::5100:5100:developer with SDK:/opt/home/developer:/bin/false
index 270ae7c..410380b 100644 (file)
@@ -1,3 +1,6 @@
+* Fri Jun 28 2013 Anas Nashif <anas.nashif@intel.com> accepted/tizen/20130520.094322@c92e2f6
+- Add system users
+
 * Sat May 11 2013 Anas Nashif <anas.nashif@intel.com> submit/tizen/20130509.184218@6ec72c0
 - Set license using %license
 
index ba840b2..3941d27 100644 (file)
@@ -72,8 +72,6 @@ end
 %config(noreplace) %{_sysconfdir}/profile
 %verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/protocols
 %attr(0600,root,root) %config(noreplace,missingok) %{_sysconfdir}/securetty
-%config(noreplace) %{_sysconfdir}/csh.login
-%config(noreplace) %{_sysconfdir}/csh.cshrc
 %dir %{_sysconfdir}/profile.d
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/shells
 %ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog