05-27-2008
Quote:
Originally Posted by
aemunathan
hi
can anyone help me out to create an user to access specific folder only.
for creating user account try this command\
# useradd -u 102 -g 101 -d /home/user1 -m -s /bin/sh -c "Test User" user1
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
who you can't log in as, but you can su over to them once you get on.
I am aware of how to make a no login user by using /NOSHELL in the spot for the shell in the passwd file, but my question is if I do that and then get on the box as a user who I can log in as and "su -" over to the nologin... (5 Replies)
Discussion started by: New_Guru
5 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Discussion started by: mallesh
1 Replies
3. UNIX for Dummies Questions & Answers
I created a user, i login as a root. I add him in the group where he can access and login as a root! I checked it in users' list and in group's list, he is there. My problem is this, I cant login using the username/account I just created! What should i do to use and login the user/account i've just... (5 Replies)
Discussion started by: jerome
5 Replies
4. HP-UX
I need to create new user from the root.which command can i used ? (2 Replies)
Discussion started by: magasem
2 Replies
5. 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
6. HP-UX
HI Guys,
Can you help me creating a user account in a HP-UX server (3 Replies)
Discussion started by: Harikrishna
3 Replies
7. Ubuntu
Hi,
Anyone can help me on how to duplicate privileges and group for useroradb01 to userrootdb01. I have currently using "useroradb01" and create a newly user "userrootdb01".
I want both in the sames privileges and group. Please see the existing users list below;
drwxr-xr-x 53 useroradb01... (0 Replies)
Discussion started by: fspalero
0 Replies
8. Homework & Coursework Questions
first off let me introduce myself. My name is Eric and I am new to linux, I am taking an advanced linux administration class and we are tasked with creating a script to add new users that anyone can run, has to check for the existence of a directory. if the directory does not exist then it has... (12 Replies)
Discussion started by: pbhound
12 Replies
9. Emergency UNIX and Linux Support
Hi,
Quick question.
How to create user in Unix after they login at the first time then they need to change password.
Thanks in Advance :):) (5 Replies)
Discussion started by: justbow
5 Replies
10. Shell Programming and Scripting
What I'm trying to do is write a script in Perl to find a user and if that user exist it would print "User Exist, Pls Try Again". If The user doesn't exist I'm able to create a user with a password.
Any suggestions? (3 Replies)
Discussion started by: GoBoyGo
3 Replies
LEARN ABOUT ULTRIX
rcvstore
rcvstore(1mh) rcvstore(1mh)
Name
rcvstore - incorporate new mail asynchronously
Syntax
rcvstore [ +folder ] [ -[no]create ] [ -help ] [ -sequence name ] [ -[no]public ] [ -[no]zero ]
Description
The command incorporates a message from the standard input into an MH folder. If a +folder argument is not given the file is placed in
your folder. The new message being incorporated is assigned the next highest number in the folder.
If the specified (or default) folder does not exist, it is created if the -create option is specified; otherwise exits.
If your file contains a Msg-Protect: entry, it is used as the protection on the newly created messages; otherwise the MH default of 0600 is
used. During all operations on messages, this initially assigned protection is preserved for each message. You can use to change the pro-
tection on an individual message, and the new protection is preserved thereafter.
The command incorporates anything except zero length messages into your MH folder.
If the profile entry Unseen-Sequence: is present and non-empty, then adds the newly incorporated message to each sequence named by the pro-
file entry. Note that does not zero each sequence prior to adding messages.
Options
-create
-nocreate Creates the specified folder. If you attempt to incorporate mail into a folder that does not exist, creates the folder if you
supply the -create option. If you supply the -nocreate option, the folder is not created and exits. The default is -create.
-help Prints a list of the valid options to this command.
-public
-nopublic Sets the read permissions of sequences. Normally, when you create a sequence with the -sequence option, the sequence is not
accessible to other MH users. The -public option makes the sequence accessible to other MH users. You can use the -nopublic
option to ensure that the sequence that you create is only accessible to yourself.
-sequence name
Specifies a sequence in which places the messages which it incorporates. For more information on sequences, see The name of the
sequence must begin with a letter, and must consist entirely of alphabetic or numeric characters; no punctuation is allowed.
-zero
-nozero Specifies whether to zero existing sequences before adding new messages. Normally, removes all existing messages from a sequence
before adding messages to it. If you specify the -nozero option, adds the messages it finds to the existing contents of the
sequence. This option only works with the -sequence option.
The defaults for this command are:
+folder defaults to
-create
-nopublic if the folder is read-only, otherwise -public
-nozero
Profile Components
Path: To determine your Mail directory
Folder-Protect: To set protections when creating a new folder
Msg-Protect: To set protections when creating a new message
Unseen-Sequence: To name sequences denoting unseen messages
Files
The user profile.
See Also
chmod(1), inc(1mh), mark(1mh), pick(1mh), mh-mail(5mh), mh_profile(5mh)
rcvstore(1mh)