Sponsored Content
Full Discussion: adding users via smit
Operating Systems AIX adding users via smit Post 302518316 by mshilling on Friday 29th of April 2011 09:39:07 AM
Old 04-29-2011
adding users via smit

I apologize if this is a simple/stupid question. When I add users in smit as root, many(most) of the fields are automatically popluated with some basic default values.

Some other admins here have access to create users via sudo, however when they create users (sudo smit users), the user gets added to /etc/passwd but the rest of the user creation process fails. When we go look at that users characteristics, only the username is filled in and the rest of the fields are blank.

Is there something I am missing or can I not have this functionality via sudo?

Thanks in advance

---------- Post updated at 09:39 AM ---------- Previous update was at 09:31 AM ----------

to expand on this a litte, if I could give them a script that would create users via command line I would gladly go that route. Every script I have tried including starting from pressing F6 during user creation and working from that fails in the same way. It appears to work but when I look at the characteristics of the user, most fields in smit are blank.

Thanks
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Adding users

Anyone have a simple shell script that will prompt and accept screen input for each field that is required in the /etc/passwd file? (3 Replies)
Discussion started by: Relykk
3 Replies

2. Shell Programming and Scripting

Adding a backslash to users' input

Hi, I need to convert user-input from '(this)' to '\(this\)' before passing it to egrep. I've tried using TR, SED and NAWK to add the backslash, but the most I ever get is a backslash without a '(' or ')'. Any ideas? Thanks! (13 Replies)
Discussion started by: netguy
13 Replies

3. SuSE

SUSE 9.1 - Problems with Adding new users plz help

Hi every one, I recently installed Suse 9.1 and added two users during installation with out problems. I have tried to add another user using the following cmd: 'useradd pite' and 'passwd xxxx' and got a message new user and password added. But when i tried to create a directory using... (3 Replies)
Discussion started by: sybella1
3 Replies

4. UNIX for Dummies Questions & Answers

Adding users to /etc/group

I'm using SAM to add users on an HP and they're adding fine. But in /etc/group it only lists the group names. It's not adding the users in there. Is there a way to have them put in there without going into SAM and modifying the group and adding them? I guess what I want to happen is when I add... (1 Reply)
Discussion started by: golfhakker
1 Replies

5. Programming

reg adding Users into at.allow and removing from at.allow

Hi , Thanks for your time . I am working on a application , which adds unix user through useradd and deletes user through userdel . both are admin commands . My requirement is i have to add a user into at.allow whenver a unix user is added through my application and the user should be... (4 Replies)
Discussion started by: naren_chella
4 Replies

6. Shell Programming and Scripting

Adding delimiter to logged in users

Hi guys! Just was wanting to run a command that would allow me to seperate the currently logged in users. Basically from this format: user1 user2 user3 To: user1|user2|user3 (Note the lack of a pipe at the end, not sure if thats possible) Basically it needs to be in this... (11 Replies)
Discussion started by: crawf
11 Replies

7. UNIX for Dummies Questions & Answers

Adding users question

Hello there, I want to add new users to my system, so, being logged in as root I do useradd -m user_name, and the new user is added to the system. The problem is that it has more privileges than I expected. If I do su user_name then I am allowed to do cat /etc/passwd , so it is... (4 Replies)
Discussion started by: help.goes.here
4 Replies

8. AIX

How do I killed ideal users from AIX 5.3 smit?

Hi, I'm newbee to AIX and would like to setup a process which kills 1 Hr. ideal users from smit. Please advise for making it work. :) Thanks, Sumit (2 Replies)
Discussion started by: sumit30
2 Replies

9. Shell Programming and Scripting

Simple script for adding users

Hi guys, I've a simple linux script (made by my friend), which adds users to the system from userlist file. it also creates user home dir and copies certain files to the directory. To be honest, am a newbie in scripting so am unable to fully understand how the script is working. unfortunately,... (30 Replies)
Discussion started by: vish6251
30 Replies

10. Shell Programming and Scripting

Adding users from a txt fille

hello i'm making a bash script for adding users from a txt fille i have a basic script that adds users and their password . when you type the users by hand , now i want to upgrade my script with a txt file of users and their password , but i don't know how to start . my txt file looks... (10 Replies)
Discussion started by: Roggy
10 Replies
WARNQUOTA(8)						      System Manager's Manual						      WARNQUOTA(8)

NAME
warnquota - send mail to users over quota SYNOPSIS
warnquota [ -ugsid ] [ -F quotaformat ] [ -q quotatab ] [ -c configfile ] [ -a adminsfile ] DESCRIPTION
warnquota checks the disk quota for each local filesystem and mails a warning message to those users who have reached their softlimit. It is typically run via cron(8). -F, --format=quotaformat Perform setting for specified format (ie. don't perform format autodetection). Possible format names are: vfsold (version 1 quota), vfsv0 (version 2 quota), rpc (quota over NFS), xfs (quota on XFS filesystem) -q, --quota-tab=quotatab Use quotatab instead of /etc/quotatab as file with device description strings (see example file for syntax). -c, --config=configfile Use configfile instead of /etc/warnquota.conf as configuration file (see example file for syntax). -a, --admins-file=adminsfile Use adminsfile instead of /etc/quotagrpadmins as a file with administrators of the groups. -u, --user check whether users are not exceeding quotas (default). -g, --group check whether groups are not exceeding quotas. If group is exceeding quota a mail is sent to the user specified in /etc/quotagrpad- mins. -s, --human-readable Try to report used space, number of used inodes and limits in more appropriate units than the default ones. -i, --no-autofs ignore mountpoints mounted by automounter. -d, --no-details do not attach quota report in email. FILES
aquota.user quota file at the filesystem root (version 2 quota, non-XFS filesystems) quota.user quota file at the filesystem root (version 1 quota, non-XFS filesystems) /etc/warnquota.conf configuration file /etc/quotatab device description /etc/quotagrpadmins administrators of the groups /etc/mtab default filesystems /etc/passwd default set of users SEE ALSO
quota(1), cron(8), edquota(8). AUTHORS
warnquota(8) was written by Marco van Wieringen <mvw@planets.elm.net>, modifications by Jan Kara <jack@suse.cz>. This reference page writ- ten by Heiko Schlittermann <heiko@lotte.sax.de>, modifications by Jan Kara WARNQUOTA(8)
All times are GMT -4. The time now is 04:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy