---
title: "Discussion on \"How to give the user sudo privilege?\" | Hashnode"
description: "Discussion on \"How to give the user sudo privilege?\". Scenario: Create two users 'tom' and 'cat'. 'tom' must have sudo privilege whereas 'cat' has normal privilege. Also, a file created by 'tom' is editable by 'cat'. 'tom' must have a home directory /home/tom but the 'cat' should not have a home directo..."
url: "https://hashnode.com/posts/how-to-give-the-user-sudo-privilege/651ac5a04d482882b3f676a1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to give the user sudo privilege?](https://blog.lokendrabhat.com.np/how-to-give-the-user-sudo-privilege?utm_source=hashnode&utm_medium=feed)

Scenario: Create two users 'tom' and 'cat'. 'tom' must have sudo privilege whereas 'cat' has normal privilege. Also, a file created by 'tom' is editable by 'cat'. 'tom' must have a home directory /home/tom but the 'cat' should not have a home directo...

Oct 2, 2023 · 1 min read · blog.lokendrabhat.com.np  
Read the article

-   [#linux](https://hashnode.com/tag/linux)

## Written by

[Lokendra Bhat](https://hashnode.com/@LokendraBhat)

@LokendraBhat · Kathmandu, Nepal

  
[View profile](https://hashnode.com/@LokendraBhat)

DevOps Engineer | AWS Cloud Certified

"Success is not final; failure is not fatal." I don't care if I fail or succeed; I never give up.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
