x40

A13 profile+password

x40
Apr 24th, 2017
613
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1.  
  2. # Copyright (C) 2001 Erik Andersen <[email protected]>
  3. #
  4. # Note: BusyBox init doesn't support runlevels. The runlevels field is
  5. # completely ignored by BusyBox init. If you want runlevels, use
  6. # sysvinit.
  7. #
  8. # Format for each entry: <id>:<runlevels>:<action>:<process>
  9. #
  10. # id == tty to run on, or empty for /dev/console
  11. # runlevels == ignored
  12. # action == one of sysinit, respawn, askfirst, wait, and once
  13. # process == program to run
  14.  
  15. # Startup the system
  16. ::sysinit:/bin/mount -t proc proc /proc
  17. ::sysinit:/bin/mount -o remount,rw /
  18. ::sysinit:/bin/mkdir -p /dev/pts
  19. ::sysinit:/bin/mkdir -p /dev/shm
  20. ::sysinit:/bin/mount -a
  21. ::sysinit:/bin/hostname -F /etc/hostname
  22. # now run any rc scripts
  23. ::sysinit:/etc/init.d/rcS
  24.  
  25. # Put a getty on the serial port
  26. console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL
  27.  
  28. # Stuff to do for the 3-finger salute
  29. #::ctrlaltdel:/sbin/reboot
  30.  
  31. # Stuff to do before rebooting
  32. ::shutdown:/etc/init.d/rcK
  33. ::shutdown:/sbin/swapoff -a
  34. ::shutdown:/bin/umount -a -r
  35.  
  36. ########## /etc/profile #############################
  37. export PATH=/bin:/sbin:/usr/bin:/usr/sbin
  38.  
  39. if [ "$PS1" ]; then
  40. if [ "`id -u`" -eq 0 ]; then
  41. export PS1='# '
  42. else
  43. export PS1='$ '
  44. fi
  45. fi
  46.  
  47. export PAGER='/bin/more '
  48. export EDITOR='/bin/vi'
  49.  
  50. # Source configuration files from /etc/profile.d
  51. for i in /etc/profile.d/*.sh ; do
  52. if [ -r "$i" ]; then
  53. . $i
  54. fi
  55. unset i
  56. done
  57.  
  58. ########################### /etc/passwd ############################
  59.  
  60. root:x:0:0:root:/root:/bin/sh
  61. daemon:x:1:1:daemon:/usr/sbin:/bin/false
  62. bin:x:2:2:bin:/bin:/bin/false
  63. sys:x:3:3:sys:/dev:/bin/false
  64. sync:x:4:100:sync:/bin:/bin/sync
  65. mail:x:8:8:mail:/var/spool/mail:/bin/false
  66. www-data:x:33:33:www-data:/var/www:/bin/false
  67. operator:x:37:37:Operator:/var:/bin/false
  68. nobody:x:65534:65534:nobody:/home:/bin/false
  69. sshd:x:1000:1000:SSH drop priv user:/:/bin/false
Advertisement
Add Comment
Please, Sign In to add comment