Sponsored Content
Operating Systems HP-UX How to create a user in UNIX with some limited permissions? Post 302885192 by vbe on Friday 24th of January 2014 05:48:46 AM
Old 01-24-2014
It depends very much what this user will be doing... if you give the rights at ahell prompt level (command line ) I say Good Luck...
If its for an operator using menus that may be different...

What is it for?
 

10 More Discussions You Might Find Interesting

1. Programming

How to create a new unix user in through a c program

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

How to create a new ftp user account with limited access..?

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

create user - limited priviledge

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

create user - limited priviledge

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

Create Unix User

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

create New UNIX User

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

create new user in unix

hi how to create new user in unix plz explain me (3 Replies)
Discussion started by: arulkumar
3 Replies

8. Solaris

user with limited privileges

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

user with limited access

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

Create an user with limited permission on LUbuntu

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
ckitem(1)							   User Commands							 ckitem(1)

NAME
ckitem, erritem, helpitem - build a menu; prompt for and return a menu item SYNOPSIS
ckitem [-Q] [-W width] [-uno] [-f filename] [-l label] [ [-i invis] [,]...] [-m max] [-d default] [-h help] [-e error] [-p prompt] [-k pid [-s signal]] [choice [...]] /usr/sadm/bin/erritem [-W width] [-e error] [choice [..]] /usr/sadm/bin/helpitem [-W width] [-h help] [choice [..]] DESCRIPTION
The ckitem utility builds a menu and prompts the user to choose one item from a menu of items. It then verifies the response. Options for this command define, among other things, a prompt message whose response will be a menu item, text for help and error messages, and a default value (which will be returned if the user responds with a carriage return). By default, the menu is formatted so that each item is prepended by a number and is printed in columns across the terminal. Column length is determined by the longest choice. Items are alphabetized. All messages are limited in length to 70 characters and are formatted automatically. Any white space used in the definition (including new- line) is stripped. The -W option cancels the automatic formatting. When a tilde is placed at the beginning or end of a message definition, the default text will be inserted at that point, allowing both custom text and the default text to be displayed. If the prompt, help or error message is not defined, the default message (as defined under NOTES) will be displayed. Two visual tool modules are linked to the ckitem command. They are erritem (which formats and displays an error message) and helpitem (which formats and displays a help message). These modules should be used in conjunction with FML objects. In this instance, the FML object defines the prompt. When choice is defined in these modules, the messages will describe the available menu choice (or choices). OPTIONS
The following options are supported: -d default Define the default value as default. The default is not validated and so does not have to meet any criteria. -e error Define the error message as error. -f filename Define a file, filename, which contains a list of menu items to be displayed. (The format of this file is: token<tab>description. Lines beginning with a pound sign (#) are designated as comments and ignored.) -h help Define the help messages as help. -i invis Define invisible menu choices (those which will not be printed in the menu). (For example, ``all'' used as an invisible choice would mean it is a legal option but does not appear in the menu. Any number of invisible choices may be defined.) Invisible choices should be made known to a user either in the prompt or in a help message. -k pid Specify that the process ID pid is to be sent a signal if the user chooses to abort. -l label Define a label, label, to print above the menu. -m max Define the maximum number of menu choices that the user can choose. The default is 1. -n Specify that menu items should not be displayed in alphabetical order. -o Specify that only one menu token will be returned. -p prompt Define the prompt message as prompt. -Q Specify that quit will not be allowed as a valid response. -s signal Specify that process ID pid defined with the -k option is to be sent signal signal when quit is chosen. If no signal is specified, SIGTERM is used. -u Specify that menu items should be displayed as an unnumbered list. -W width Specify that prompt, help and error messages will be formatted to a line length of width. OPERANDS
The following operand is supported: choice Define menu items. Items should be separated by white space or newline. EXIT STATUS
The following exit values are returned: 0 Successful execution. 1 EOF on input, or negative width on -W option, or inability to open file on -f option, or usage error. 3 User termination (quit). 4 No choices from which to choose. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) NOTES
The user may input the number of the menu item if choices are numbered or as much of the string required for a unique identification of the item. Long menus are paged with 10 items per page. When menu entries are defined both in a file (by using the -f option) and also on the command line, they are usually combined alphabeti- cally. However, if the -n option is used to suppress alphabetical ordering, then the entries defined in the file are shown first, followed by the options defined on the command line. The default prompt for ckitem is: Enter selection [?,??,q]: One question mark will give a help message and then redisplay the prompt. Two question marks will give a help message and then redisplay the menu label, the menu and the prompt. The default error message if you typed a number is: ERROR: Bad numeric choice specification The default error message if you typed a string is: ERROR: Entry does not match available menu selection. Enter the number of the menu item you wish to select, the token which is associated with the menu item, or a partial string which uniquely identifies the token for the menu item. Enter ?? to reprint the menu. The default help message is: Enter the number of the menu item you wish to select, the token which is associated with the menu item, or a partial string which uniquely identifies the token for the menu item. Enter ? to reprint the menu. When the quit option is chosen (and allowed), q is returned along with the return code 3. SunOS 5.11 14 Sep 1992 ckitem(1)
All times are GMT -4. The time now is 06:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy