01-19-2010
What was done in case of Solaris what were the errors ?
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. Solaris
passwd only changes the password but i need to change the user name
tnx (5 Replies)
Discussion started by: umen
5 Replies
3. 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
4. Filesystems, Disks and Memory
My company has about 40 databases with each database in a different logical partition. Presently the SysAdmin person says it is necessary to create a user profile (login and password for each instance of databases on each LPAR.
1. Is it necessary that the user must be created in each LPAR?
2.... (1 Reply)
Discussion started by: kcampbell
1 Replies
5. Debian
hello friends,
one user is created named "user1"
I login as "user1" . Now when i do "su -" to be root user I have to give password for root .
Is there any way through which we can skip giving the password to root.
i.e.
user1@work:~$ su -
Password: xxxxxx
work:~$
I don't want that... (1 Reply)
Discussion started by: pradeepreddy
1 Replies
6. Shell Programming and Scripting
Hi All,
I have one requirment..
I need to change my id to some sudo account in a server.. Actually our username/passwd will be stored in one gip file like below...
$cat .a.gz #It's hidden file
username
passwd
$
So I tried the below script to pass the password when i sudo to... (7 Replies)
Discussion started by: raghu.iv85
7 Replies
7. UNIX for Dummies Questions & Answers
hi guys
I have Centos 5.4
The idea is lock the user account for 3 minutes after he has entered his password incorrectly 3 times.
I've modified /etc/pam.d/system-auth
auth required pam_tally.so onerr=fail per_user deny=3
account required pam_tally.so resetbesides... (3 Replies)
Discussion started by: kopper
3 Replies
8. Solaris
I want create user. That user should be login to any server without asking password. How? tell me in detail.
:wall: (3 Replies)
Discussion started by: Navkreddy
3 Replies
9. Shell Programming and Scripting
Hi Folks,
I had a request to create the user request. Between, I just write a script a create, Update Geos, and update the password. My script as below:
The error message, what I am getting is all the users are updated with the same Goes value..
#!/bin/bash
for i in `cat users.txt`;do... (2 Replies)
Discussion started by: gsiva
2 Replies
10. UNIX for Beginners Questions & Answers
I want to create a shell script to gather user account information and displays the result to administrator.
I have created a script but its showing all the information when i search for username like:
amit@mx:~$ ./uinfo.sh amit
Username : amit
User Info ... (2 Replies)
Discussion started by: amit1986
2 Replies
LEARN ABOUT DEBIAN
luseradd
luseradd(8) System Manager's Manual luseradd(8)
NAME
luseradd - Add an user
SYNOPSIS
luseradd [OPTION]... user
DESCRIPTION
Adds an user with name user.
OPTIONS
-c, --gecos=gecos
Set the GECOS field to gecos. The GECOS field is traditionally used to store user's real name and other information.
-d, --directory=directory
Set user's home directory to directory. If this option is not present, a default specified by libuser configuration is used.
-g, --gid=group
Set user's primary group to group. group can either be a group ID of an existing group, or a group name; if group is a group name
and the group does not exist, it is created. If the --gid option is not specified, the default group name is user.
-i, --interactive
Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration.
-k, --skeleton=directory
Populate the newly created user's home directory with a copy of directory. If this option is not present, a default directory spec-
ified by libuser configuration, or /etc/skel if libuser configuration does not specify a default, is used.
-M, --nocreatehome
Don't create a home directory and a mail spool for the newly created user.
-n, --nocreategroup
If a group is not specified using -g, use group name "users" instead of user. Note that despite the name of the option, the group
will still be created if it does not exist.
-P, --plainpassword=password
Set user's password to password. Note that the password can be viewed while running luseradd using tools such as ps(1).
-p, --password=encrypted
Set user's password to the password represented by the hash encrypted. Note that the hash can be viewed while running luseradd
using tools such as ps(1).
-r, --reserved
The user is a system user. Users that are not marked as system user usually have automatically selected user IDs above a certain
value (500 by default). This information is also passed to the libuser backends. This option implies the -M option.
-s, --shell=shell
Set user's login shell to shell. If this option is not present, a default specified by libuser configuration is used.
-u, --uid=uid
Use user ID uid for the newly created user. An user ID is selected automatically if this option is not present.
EXIT STATUS
The exit status is 0 on success, nonzero on error.
libuser Jan 12 2005 luseradd(8)