What is default permission of /etc/passwd , /etc/shadow files

Answers were Sorted based on User's Feedback



What is default permission of /etc/passwd , /etc/shadow files..

Answer / vishwanath

/etc/passwd : 644

/etc/shadow : 400

Is This Answer Correct ?    59 Yes 12 No

What is default permission of /etc/passwd , /etc/shadow files..

Answer / manoj

bash-3.00$ ls -l /etc/shadow
-r-------- 1 root sys 3030 Dec 5
23:05 /etc/shadow
bash-3.00$

bash-3.00$ ls -l /etc/passwd
-rw-r--r-- 1 root sys 8243 Dec 3
05:18 /etc/passwd
bash-3.00$

Is This Answer Correct ?    19 Yes 2 No

What is default permission of /etc/passwd , /etc/shadow files..

Answer / sonu

In RHEL- 6

[sonu@localhost ~]$ ll /etc/passwd
-rw-r--r--. 1 root root 1748 Mar 4 04:58 /etc/passwd
[sonu@localhost ~]$ ll /etc/shadow
----------. 1 root root 1076 Mar 4 04:58 /etc/shadow
[sonu@localhost ~]$

/etc/passwd === 644
/etc/shadow ===000

Is This Answer Correct ?    17 Yes 1 No

What is default permission of /etc/passwd , /etc/shadow files..

Answer / karthik

Default permission for /etc/passwd is
644
Default permission for /etc/shadow is
400

Is This Answer Correct ?    17 Yes 3 No

What is default permission of /etc/passwd , /etc/shadow files..

Answer / ramunix123

bash-3.00# ls -ltr /etc/passwd
-rw-r--r-- 1 root sys 2178 Nov 18 12:11 /etc/passwd
bash-3.00# ls -ltr /etc/shadow
-r-------- 1 root sys 1117 Nov 18 12:55 /etc/shadow
bash-3.00# w
4:53pm up 1 day(s), 10:29, 5 users, load average: 4.44, 4.52, 5.06
User tty login@ idle JCPU PCPU what
zaldeza pts/1 Sun12pm 25:56 4:46 bash
zaldeza pts/2 Sun 6am 5:51 290:59 bash
ram pts/3 12:54pm bash
zaldeza pts/8 Sun12pm 25:58 bash
zaldeza pts/18 1:21pm 23 1 bash
bash-3.00# date
Monday, February 13, 2012 4:53:51 PM CST
bash-3.00#


passwd = 644

shadow = 400

Is This Answer Correct ?    6 Yes 0 No

What is default permission of /etc/passwd , /etc/shadow files..

Answer / robin

/etc/passwd>>444
/etc/shadow>>400

Is This Answer Correct ?    6 Yes 17 No

What is default permission of /etc/passwd , /etc/shadow files..

Answer / sbrahman75

/etc/passwd: 444

/etc/shadow: 400

Is This Answer Correct ?    10 Yes 28 No

Post New Answer

More Solaris Commands Interview Questions

How to configure the virtual ip address

3 Answers  


How to review multiple MAC Addess in Solaris?

9 Answers   HP,


What are the options available in Solaris Security setting.?

1 Answers   Accenture,


What are the daemons in NIS server?

2 Answers   MoonUp, Wipro,


How to stop one node cluster exclusively

1 Answers  






How to configure domain controller in SAMBA using SOLARIS 10 OS and How to centralize domain name and creating users.How to share files for WINDOWS XP clients

1 Answers   IBM,


In which file port No’s are defined

3 Answers  


How can u check parameters in ok boot prompt?

1 Answers  


What is Sun Explorer ?

5 Answers   CTS,


I have single NIC card and we have two ports can we configure as IPMP?

1 Answers   ITC Infotech,


Default path for patches

2 Answers  


How to find the VERITAS License?

7 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)