01-23-2014
How to create a user in UNIX with some limited permissions?
As i know, Unix or Linux only manages 2 type of user: root user or normal user.
All users with userID=0 will have all administration permissions like root user with the system.
In my case, i want to create a new user in HP-UNIX environment with all root permissions only one exception that this user will not be able to create or delete or modify other existing users in current system.
Could you help me?
Thanks so much for your support,
Last edited by hieucn1404; 01-23-2014 at 11:57 PM..
10 More Discussions You Might Find Interesting
1. Programming
Hi ,
I want to create a new user using c program not with unix adduser command .
is it possible to write a cprogram to create a new user account , it should accept username , grouid , group name and all other privilages .
i can use system calls inside c program to do this .
i will... (5 Replies)
Discussion started by: naren_chella
5 Replies
2. Solaris
Hi All,
I'm using solaris 2.8, and I want create a new ftp user account with the following restrictions:
- Have only ftp access, no telnet or rlogin
- Have restricted access to its home directory example /export/home/newuser
- Deny access to any other directory.
Thanks for your help,
... (6 Replies)
Discussion started by: Jeremy3
6 Replies
3. UNIX for Dummies Questions & Answers
i want to create unix user account (usera) for outsider so that they can run program that exist in /application/xxx/.
The account have their own home directory (/home/usera).
But on the same time the user cannot run any application/command either than in /application/xxx/.
User can only... (1 Reply)
Discussion started by: golden_shooter
1 Replies
4. UNIX for Advanced & Expert Users
i want to create unix user account (usera) for outsider so that they can run program that exist in /application/xxx/.
The account have their own home directory (/home/usera).
But on the same time the user cannot run any application/command either than in /application/xxx/.
User can only... (1 Reply)
Discussion started by: golden_shooter
1 Replies
5. Shell Programming and Scripting
Is there any way to create user with default password by shell script withoud manual intervantion and from a text file having user's information and default password.
Thanks (6 Replies)
Discussion started by: wenay
6 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I wish to create some users, I can do that using the following command.
useradd
I wonder If i could create Uers as a clone of Root. I mean different users but having the same provileages as Root user. Can be ablle to access the Root Dir and so on ..
Please help me out Is this... (6 Replies)
Discussion started by: Asteroid
6 Replies
7. UNIX for Dummies Questions & Answers
hi
how to create new user in unix
plz explain me (3 Replies)
Discussion started by: arulkumar
3 Replies
8. Solaris
Hi,
I tried to search, but could not find answer for this really:
Is it possible to create a user that would have access only to a defined list of files? I would like to create a user that can access a set of files that are located behind different path. This user should not have access to... (1 Reply)
Discussion started by: Juha
1 Replies
9. UNIX for Dummies Questions & Answers
dear guys,
sorry for asking a noob :p question, tried to search the forum for an answer but couldn't find one, i am running solaris 10 and i would like to create a user with limited access to view only one directory, the directory already exist, is this possible:confused:?
thanks and regards (4 Replies)
Discussion started by: q8devilish
4 Replies
10. Ubuntu
Hello folks,
I pretend install Lubuntu 16.04 LTS in pc for any employer use this pc! I think create an user with, only, permission to read and write, 770.
This is the best scenario?
I think create this user through terminal, because I pretend create a script, and I don't where wizard has... (0 Replies)
Discussion started by: enodev
0 Replies
LEARN ABOUT ULTRIX
edquota
edquota(8) System Manager's Manual edquota(8)
Name
edquota - edit user quotas
Syntax
edquota [ -p proto-user ] users...
Description
The command is a quota editor. You can specify one or more users on the command line. For each user, creates a temporary file with an
ASCII representation of the current disc quotas for that user and an editor is then invoked on the file. You can then modify the quotas,
add new quotas, and so forth. Upon leaving the editor, reads the temporary file and modifies the binary quota files to reflect the changes
made.
If a valid quota file does not exist, refers the user to The user then has the option of either supplying the command which automatically
creates the necessary quota file, or creating an empty quota file by various other means.
If the option is specified, duplicates for each user, the quotas of the prototypical user specified. This is the usual mechanism used to
initialize quotas for groups of users.
The editor invoked is unless the environment variable EDITOR specifies otherwise.
Only the superuser can edit quotas.
Diagnostics
Various messages about inaccessible files. Other messages are self-explanatory.
Files
quotas At the root of each file system with quotas
Used to find file system names and locations
See Also
quota(1), quota(2), quotacheck(8), quotaon(8), repquota(8)
``Disk Quotas in a UNIX Environment,'' ULTRIX Supplementary Documents, Volume 3: System Manager
edquota(8)