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)
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)
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)
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)
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)
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)
Hi, I'm new to the world of UNIX and have been asked to create a complex script (at least complex to me:confused:) for AIX UNIX to create a report of all the users on the server including server, user, UID, groups, GID, etc.
Found a script using lsuser, but the output is still lacking. 2 things I... (2 Replies)
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... (5 Replies)
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
passwd
passwd(5yp)passwd(5yp)Name
passwd - password file description with the Yellow Pages service implemented
Description
The file stores initial login information, including passwords for each user in the system. Regardless of whether or not the system has
the Yellow Pages service implemented, the file contains the following information:
Name (login name, contains no uppercase)
Encrypted password
Numerical user ID
Numerical group ID
User's real name, office, extension, home phone.
Initial working directory
Program to use as Shell
The name can contain an ampersand (&), meaning insert the login name. This information is set by the command and used by the command.
This is an ASCII file. Each field within each user's entry is separated from the next by a colon. Each user is separated from the next by
a new line. If the password field is null, no password is demanded; if the shell field is null, the system defaults to the shell.
This file resides in the directory. Because of the encrypted passwords, it can and does have general read permission and can be used, for
example, to map numerical user IDs to names.
Appropriate precautions must be taken to lock the file against simultaneous changes if it is to be edited with a text editor. The command
does the necessary locking.
In a Yellow Pages environment, the file can also have a line beginning with a plus (+), which means to incorporate entries from the Yellow
Pages data base. There are three styles of + entries: by itself, + means to insert the entire contents of the Yellow Pages password file
at that point; +name means to insert the entry (if any) for name from the Yellow Pages at that point; +@name means to insert the entries
for all members of the network group name at that point. If a + entry has a nonnull password, directory, gecos, or shell field, it will
override what is contained in the Yellow Pages. The numerical user ID and group ID fields cannot be overridden.
Examples
Here is a sample file:
root:q.mJzTnu8icF.:0:10:Privileged Account:/:/bin/csh
jcj:6k/7KCFRPNVXg:508:10:JC Javert:/usr2/jcj:/bin/csh
+john:
+@documentation:no-login:
+:::Guest
In this example, there are specific entries for users root and jcj, in case the Yellow Pages are temporarily out of service. Alterna-
tively, a user may need specific login information on a given system that differs from the information contained in the Yellow Pages map
for that user. The user, john, will have his password entry in the Yellow Pages incorporated without change. Anyone in the netgroup docu-
mentation will have their password field disabled, and anyone else will be able to log in with their usual password, shell, and home direc-
tory, but with a gecos field of Guest.
FilesSee Alsochfn(1), finger(1), login(1), passwd(1), crypt(3), getpwent(3), group(5), adduser(8), vipw(8)passwd(5yp)