Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

useradd

Status
Not open for further replies.

bsek

Technical User
Jan 9, 2003
83
US


I want to create a new user account with read-only permission. I cannot change permission to my files.

Thanks.

 
Was there a question somewhere in there ?
 
Hi,

I am not sure you can create read-only user.

Each user will have at least "other" authorities.

But you can disable existing group authorities for this user.

Just create a new group(groupadd) and use -g option (you should check gid from /etc/group)at useradd command to set primary group for the new user.

OR set new user primary group "other" , if "other" is not primary group for any of other users.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top