Sponsored Content
Full Discussion: new account
Top Forums UNIX for Dummies Questions & Answers new account Post 26385 by Lawatsch on Friday 16th of August 2002 07:37:30 AM
Old 08-16-2002
Tools new account

SUN Solaris 2.6


I need a account for foreign user.
They have only to work on their home-directory.

How can I build this special-account ?


Smilie Smilie Smilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Account

!HELLO SIR, Can any one tell how to create a Account in SCOUNIX. By using which commands . and what are steps i should have to follow to create a account. (1 Reply)
Discussion started by: smdakram
1 Replies

2. UNIX for Dummies Questions & Answers

Setting an account to be a non-login account automatically?

Is there a way to easily change an account to be a non login account (NP in the shadow) file? I know I can just edit the file but that is not what we want to do. We use access control software and want to provide a way to set an account to be non-login using simple commands that can be mapped... (0 Replies)
Discussion started by: LordJezo
0 Replies

3. UNIX for Dummies Questions & Answers

Change Account to not lock account if password expires

I have access to 15+ UNIX boxes at work, and I do not consistently log onto all of them over time. When I do try to access one I havent been on in awhile, my account is locked as the password has expired. I need to request to the UNIX SA's that the password expiration is 90 days and that if it... (1 Reply)
Discussion started by: stringzz
1 Replies

4. Forum Support Area for Unregistered Users & Account Problems

Account

How do I delete my account!? (0 Replies)
Discussion started by: Cookie5058
0 Replies

5. Linux

Apply disk quota to account(dedicate 3 GB to account).

Hi , I am faceing lot of problem due to "disk space is not enough". senerio is like as, In system has 5 account. a,b,c,d,e say account c if very critical. Due to other user's data, user 'c' is faceing disk space issue. I want to dedicate 3 GB for user 'c'. No user... (1 Reply)
Discussion started by: ashokd009
1 Replies

6. Forum Support Area for Unregistered Users & Account Problems

Restart old account, change email for account

Hi there, I may have had a typo in my email previously provided. I have doublechecked my email for Scott's reply but havent seen it, so I am creating a new post. My new email can be either one of these: <removed> or <removed> I beleive my old email was <removed by admin> thanks for your... (1 Reply)
Discussion started by: AKelam_MagnusA
1 Replies

7. How to Post in the The UNIX and Linux Forums

Simultaneously try to execute commands after connecting to remote account to one account

I have made password less connection to my remote account. and i tried to execute commands at a time. but i am unable to execute the commands. ssh $ACCOUNT_DETAILS@$HOST_DETAILS cd ~/JEE/*/logs/ (1 Reply)
Discussion started by: kishored005
1 Replies

8. Post Here to Contact Site Administrators and Moderators

Verify from one account number to another account number

Hi, Can anyone suggest me for the below steps. Here the index files is nothing but a text file and In index file there are n number of pdf files. Step 0 check out if this is for A(index file) or B(index file) 1. Read the first line of the original index file 2. Read the 9th character... (1 Reply)
Discussion started by: pavand
1 Replies

9. Windows & DOS: Issues & Discussions

What happens to your skype account if you close outlook.com email account?

Hello, Does anyone know what happens to your skype account if you close the outlook.com email account which are linked together? As you know they are both owned by Microsoft. Thanks (0 Replies)
Discussion started by: milhan
0 Replies
usermod(8)						      System Manager's Manual							usermod(8)

NAME
usermod - modify a user account SYNOPSIS
usermod [-D binddn] [-P path] [-g gid [-o]] [-p password] [--service service] [--help] [--usage] [-v] account DESCRIPTION
usermod modifies an user account using the values specified on the command line. OPTIONS
-A, --add-to-group group,... With this option a list of groups can be specified, which the user should become a member of. Each group is separated from the next one only by a comma, without whitespace. -c, --comment comment This option specifies the new users finger information. It is normally modified using the chfn(1) utility. -d, --home homedir This option specifies the new home directory of the user. -e, --expire expire With this option the date when the account will be expired can be changed. expiredate has to be specified as number of days since January 1st, 1970. The date may also be expressed in the format YYYY-MM-DD. -f, --inactive inactive This option is used to set the number of days of inactivity after a password has expired before the account is locked. A user whose account is locked must contact the system administrator before being able to use the account again. A value of -1 disables this feature. -G, --groups group,... With this option a list of supplementary groups can be specified, which the user should become a member of. Each group is separated from the next one only by a comma, without whitespace. The user is removed from all other groups not specified. -g, --gid gid The group name or number of the user's new primary group. The group name must exist and a group number must refer to an already existing group. -l, --login name Specify the new account name for the user. The account name must begin with an alphabetic character and the rest of the string should be from the POSIX portable character class. Nothing else is changed. -m, --move_home Move the user's home directory to the new directory specified with the -d option. If the old directory does not exist, nothing is done. If the new directory already exists, the program aborts with an error. -o, --non-unique Allow duplicate (non-unique) User IDs. -p, --password password Encrypted password as returned by crypt(3) as the new password. -R, --remove-from-group group,... With this option a list of groups can be specified, from which the user should be removed. Each group is separated from the next one only by a comma, without whitespace. -s, --shell shell Specify user's new login shell. The value of shell must be a valid executable file. It is normally modified using the chsh(1) util- ity. -u, --uid uid Change the userid to be the given number. This value must be positive and unique (unless the -o option is used). Any file with the old UID of the user and which is located in the directory tree rooted at the user's home directory will be changed to be owned by the new UID automatically. -D, --binddn binddn Use the Distinguished Name binddn to bind to the LDAP directory. The user will be prompted for a password for simple authentica- tion. -L, --lock A system administrator can lock the account of the specified user. -U, --unlock A system administrator can unlock the specified account, if the account is not passwordless afterwards (it will not unlock an account that has only "!" as a password). -P, --path path The passwd and shadow files are located below the specified directory path. usermod will use this files, not /etc/passwd and /etc/shadow. --service service Modify the account from a special directory. The default is files, but ldap is also valid. --help Print a list of valid options with a short description. --usage Print a short list of valid options. -v, --version Print the version number and exit. NOTES
usermod will not allow you to change the name, User ID or home directory of a user, which is logged in. usermod will not change the User ID of running processes and not the ownership of crontab and at jobs. FILES
/etc/group - group information /etc/passwd - user account information /etc/shadow - shadow user account information SEE ALSO
passwd(1), login.defs(5), group(5), passwd(5), shadow(5), useradd(8), userdel(8) AUTHOR
Thorsten Kukuk <kukuk@suse.de> pwdutils Feb 2010 usermod(8)
All times are GMT -4. The time now is 07:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy