Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Trouble setting up a shared folder Post 302698417 by RudiC on Monday 10th of September 2012 04:37:02 AM
Old 09-10-2012
Is /home/John executable for that group or for others?
This User Gave Thanks to RudiC For This Post:
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

can folder shared with NFS (/usr/)

hello i wanted to ask you i try to setting: pc server name: A pc user name: B pc user name: C server A is opensuse 11.2 with kde 4.3.5 and last kernel so i create NFS server, i think.. folder (/usr is all softwares and library) because server A can share to PC A. because all... (0 Replies)
Discussion started by: tunjin
0 Replies

2. Shell Programming and Scripting

See shared folder

Hello, I want to list all shared folder in terminal in local. I haven't found the command for, i'm on bash in mac os x. Thanks (2 Replies)
Discussion started by: protocomm
2 Replies

3. IP Networking

Trouble setting up a static IP on NetGear DGN1000

I have been trying to setup a static ip, however everytime I do so my internet disconnects and won't connect untill I switch back to dynamic. My router is a NetGear DGN1000 and I'm using it wired. Could anyone help? (0 Replies)
Discussion started by: zomigosh
0 Replies

4. Ubuntu

Trouble setting up Java classpath

Saw an error while setting up an application called i2phex: # ./run.sh java.lang.RuntimeException: Failed to initialize phex.net.repres.i2p.I2PPresentationManager at phex.common.ManagerController.initializeManagers(ManagerController.java:78) at phex.Main.main(Main.java:161)After... (0 Replies)
Discussion started by: Israel213
0 Replies

5. Shell Programming and Scripting

command to connect the shared folder

Hello, I am using unix through cygwin application in my office machine and here i encounter a problem which i want copy certain big files from a shared folder shared folder--\\Parwvm000154\docs to my local machine c:/ I'm really honor if i clarified with the command. Regards... (1 Reply)
Discussion started by: thelakbe
1 Replies

6. UNIX for Dummies Questions & Answers

Trouble Setting Up Sun Ultra 10 - Displaying Garbage

Hello there, I am new to this forum as well as to the UNIX world. Recently graduated with a degree in Computing and just started learning UNIX & bought 3 Sun Ultra 10 Servers. I was trying to set the Servers up so I can use them; the Servers don't have a VGA card. My laptop, which I would be... (6 Replies)
Discussion started by: frhan2u
6 Replies

7. Shell Programming and Scripting

Trouble setting up flag ( getopt) for my script

do case $option in d ) CHEC=true;; # more option processing can go here \? ) echo "Unknown option: -$OPTARG" : ) echo "Missing option argument for -$OPTARG";; * ) echo "Unimplimented option: -$OPTARG";; esac done shift $(($OPTIND - 1)) (2 Replies)
Discussion started by: upenmishra
2 Replies

8. Shell Programming and Scripting

Trouble with setting a variable with vastool

Hi I have this command that when put on the command line it returns the output the way I want it. /opt/quest/bin/vastool list -a groups | grep testdev_li | grep dev | awk -F"" 'NF>2{print $2}' | cut -c2- | tr '\n' '|' The output of this is ... (2 Replies)
Discussion started by: ajetangay
2 Replies

9. UNIX for Beginners Questions & Answers

Setting UID and GID for shared folder using NFS method in Linux system

Hi everyone, have a good day to you. I am trying to use NFS to share a folder between 2 linux systems. Let's say the server which is sharing the folder is server A and the client which need to access this shared folder is server B. In server B, i am having a Joe user which UID and GID is 500.... (1 Reply)
Discussion started by: michael_hoang
1 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 01:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy