Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

User groups and permissions, interview questions

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

* * subscriber groups and permissions

1. Explain what each character table in drwx rwx rwx contains?

2. In the linux operating system, in lrwxr--r--, the l table contains ().

3. In the linux system, the command to add a subscriber is (), and the command to modify the password is ().

4. In linux, the UID number of root account is (), and the GID number is ().

5. What is the difference between su and su-in linux?

6. Add permission to execute the test.txt license in addition to the owner, and finally "write out" the permission.

7. In linux, the permission of the le.sh is () in the le.sh of the chmod 645th.

8. In linux, the r, w and x of the permissions correspond to the "base number" is ().

9. In linux, give 0645 permission to the 111.txt installer: ().

10. In linux, assign the test folder to the linyh account, that is, the zhanglg group, and give 0645 permissions, and inherit under the folder, and the command is: ().

13. Add a customer www, add a group zzz, and add a www account to the zzz group?

14. The permission of a component is: if the permission is specified in the drw-r--r--, numeric form table, the binary is ().

15. The owner of the production environment / usr/local/nginx/html/app record developer is gsb, and the user of the php process is www. How to make the www account have write permission? #

16. Linux "piece permission" has a total length of 10 digits and four segments. The content of the third paragraph table is ().

A. accessory type B. permissions of the owner C. permissions of the group of the owner. Permissions of other subscribers

17. The login permission is 711, and the permission for other users is ().

a. But hold on to b. You can enter into C. Readable and executable. Writable cymbal

18. The file permission is 755. For the owner of the file, the permission is ().

a. Readable, executable, writable b. Readable c. Readable and executable. Writable cymbal

19. The command to view past login records is ().

A.last b.vi / var/log/wtmp c.who d.tail / var/log/wmtp

20. The lower part () is the holder in linux.

A. Lename.exe B. lename.sh c. Lename.bat d. Lename after carrying out the chmod 755's lename instruction

21. To know who is registering on your machine, please click the () command.

A.who b.users c. Nger d.ping

22. () command to convert the current customer to another customer.

A. Su b.whoami c.usermod d.useradd

23. Change the permission settings for individual pieces ().

A. Attrib b.chmod c.change D. le

24. The command to modify the "user login" order is ().

A. Adduer b.passwd c.password d.passwdmod

25. Linux "piece permission" has a total length of 10-digit drwxrwxr-x, which is divided into four segments. The content of the third paragraph is ().

A. The permission of the owner of the piece type B. the permission of the group in which the owner belongs. Permissions of other subscribers

26. When you ask the mkdir command to create a new record, the option to create a record first when its record does not exist is ().

A.-m b.murd c.murf d.murp

27. If you modify the component named aaa chmod 551, the permission is ().

A.-rwxr-xr-x b.What rwxrMurray-Murray-c. Murray-Murray-d.-r-xr-x--x

28. The following () is a symbolic link.

A.-rw-rw-rw- b.-rwxrwxrwx c.drwxrmurf Rafe-d.lrwxr Murray-

29. The ls command looks at the description of aa, such as-rwxr-xr--, and we can see that the aa component type is ().

a. Ordinary pieces b. Hard link C. record d. Symbolic link

30. The command to change the owner of the piece is ().

A. Chmod b.touch c.chown d.cat

31. The command to build a new piece to make it work ().

A. Chmod b.more c.cp d.touch

32. If the permission of a member outside the group is read-only, the owner has full permission, and the permission within the group is read-write, the permission is ().

A.467 b.674 c.476 d.764

33. The current location of the super account root is recorded as / usr/lcoal. After pressing the cd command, the current account is recorded as ().

A. / home b./root c./home/root d./usr/local

34. Regarding the linux account, the correct statement is ().

A. the password of the subscriber is stored in plain form in / etc/passwd.

B. the password of the subscriber is stored in / etc/passwd account in secret form.

C. The password of the account is stored in the / etc/shadow account in secret form.

D. when a subscriber logs in, the password of the subscriber will be matched with the saved password.

35. If the permission is 765, the correct permission table below is ().

A.-rw-rw-r-x B.-rw-r-xr-r C.-rwxrw-r-x D.-rwxr-xrwx

36. Under Linux, assign execution permission to a script ().

A. chmod + x "lename.sh B. Chown + x" lename.sh

C. Chmod + r "lename.sh D. Chown + r" lename.sh

37. The password is encrypted and saved as () in the linux system. A./etc/group b./etc/netgroup c./etc/libsafe.notify d./etc/shadow

38, / etc/fstab is copied to / data/dir, what permissions are less required? **

Answer to 38 questions

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report