12-23-2005
Hi pascal
apart from that edit the /etc/security/user and for the user root2 stanza
change
admin=true for normal user its set to false)
Dare AIX team
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a way to create or better yet modify a user account so it has the same privs as root? (6 Replies)
Discussion started by: xadamz23
6 Replies
2. Red Hat
Hi,
Is it possible to create a user in Linux 8.0 with all the attribute and the privilages of super user (root). Without using root as the logg in name.
Thanx (6 Replies)
Discussion started by: kayode
6 Replies
3. 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
4. Shell Programming and Scripting
Hi All,
I have directory under /opt/test.
The ownership of the test directory is root:root.
I have login to the server as test user.
I need to have some script to create a directory inside /opt/test.
This script will be called as test user.
When I try to execute... (4 Replies)
Discussion started by: kalpeer
4 Replies
5. UNIX for Dummies Questions & Answers
hi
i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help
Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies
6. Solaris
Hi All,
I am trying to uninstall jdk 1.5 from my Solaris 10 64 bit but some how was not successful.so tried to delete the folder of jdk from /usr but its throughing error as:
Unable to remove directory jdk: Read-only file system
Even I tried to create a dir in /usr but its not allowing me... (4 Replies)
Discussion started by: Pshah
4 Replies
7. AIX
please give me any suggestion, how can i create user as root privilege. (please give me very safest way because i have production servers) (5 Replies)
Discussion started by: reply.ravi
5 Replies
8. UNIX for Dummies Questions & Answers
I've been through many threads before i decide to create a separate thread.
I can't really find the solution to my (simple) problem.
Here's what I'm trying to achieve:
As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user.
The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I need to give an user sudo ability to root.
We have also generated RSA key but unable to proceed further.
For example after a user logs into the server normally and when he executes below command
$ssh root@server_name
This should take you to root prompt #
Please help me.... (3 Replies)
Discussion started by: Rockyc3400
3 Replies
10. UNIX for Dummies Questions & Answers
Is there any way to create a file in linux that root user also can't delete? (8 Replies)
Discussion started by: palani13dec
8 Replies
LEARN ABOUT CENTOS
lnewusers
lnewusers(1) General Commands Manual lnewusers(1)
NAME
lnewusers - Create new user accounts
SYNOPSIS
lnewusers [OPTION]...
DESCRIPTION
Creates new user accounts using data read from standard input.
The input data consists of lines, each line has 7 colon-separated fields:
User name
Plaintext password
User ID
lnewusers refuses to create users with user ID 0 (the root user ID).
Group If this field is a valid group ID, it is interpreted as a group ID, otherwise as a group name. If the field is empty, a group name
equal to user name is used.
If the specified group does not exist, it is automatically created. If the group is specified with a group ID, the created group
has group name equal to the user name.
GECOS The GECOS field is traditionally used to store user's real name and other information.
Home directory
If this field is empty, a default specified by libuser configuration, or /home/username if libuser configuration does not specify a
default, is used.
Login shell
If this field is empty, a default specified by libuser configuration is used.
Errors in user specifications are reported and processing continues on the next line.
OPTIONS
-f, --file=file
Read account data from file instead of standard input.
-i, --interactive
Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.
-M, --nocreatehome
Don't create home directories.
-n, --nocreatemail
Don't create mail spool files.
EXIT STATUS
The exit status is 0 on success, nonzero on fatal error. Errors in user specifications are not reflected in the exit status.
libuser Jul 13 2008 lnewusers(1)