Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 3418  / 1 Year ago, mon, january 23, 2023, 6:55:13

I am using Ubuntu 11.10 on my laptop and I have managed to overwrite my /etc/inittab and /etc/init.d/rcS files while running a stupid script with sudo.



Can anyone please provide me the default installed /etc/inittab and /etc/init.d/rcS files on a ubuntu 11.10 system so that I can restore it back ?


More From » 11.10

 Answers
7
$ ls -l /etc/inittab
ls: cannot access /etc/inittab: No such file or directory


So there is no inittab in my installation.



$ ls -l /etc/init.d/rcS 
-rwxr-xr-x 1 root root 117 2011-07-14 07:11 /etc/init.d/rcS

$ cat /etc/init.d/rcS
#! /bin/sh
#
# rcS
#
# Call all S??* scripts in /etc/rcS.d/ in numerical/alphabetical order
#

exec /etc/init.d/rc S

[#42143] Tuesday, January 24, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ightrushi

Total Points: 129
Total Questions: 125
Total Answers: 127

Location: French Southern and Antarctic Lands
Member since Fri, Jan 6, 2023
1 Year ago
;