Sponsored Content
Full Discussion: managing users
Top Forums UNIX for Dummies Questions & Answers managing users Post 21 by Neo on Wednesday 20th of September 2000 02:17:19 PM
Old 09-20-2000
Hammer & Screwdriver

OK. The actual commands and flags depend on the flavor of UNIX you are playing on (YMMV):

In Linux you add users with the 'adduser' command.

After adding users, you create a group by editing the
/etc/group file and add users to the group. I use the
VI editor.

Now you have users and groups Smilie.

The permissions are based on your different requirements.
Lets say you want the new users to write in the directory
but no modify it.

mkdir /tmp/newdirectory

chown root.newgroup /tmp/newdirectory

chmod 770 /tmp/newdirectory

This means that root will be able to read, write, and search; members of the newgroup will be able to do the
same. Other users and groups will have no permissions
to write, search or read the directory.

It is best, IMHO, for you to read the man pages on chown()
and chmod() and then experiment by changing to different
users (to get a flavor for how it actually works.)


 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Managing nodes???

Does anyone know something about this? I have no idea what it means and how to do it. but if anyone can give me and explanation and also point me to a website, i'd really appreciate it (5 Replies)
Discussion started by: TRUEST
5 Replies

2. Programming

error in managing linklist

I have used link list in my program to operate on set of values the operations that i am doing : add , delete from link list when i am deleting the intermidiate or last value it is not giving any error but when i am deleting the 1 st value then program hangs can anyone suggest me the reason (3 Replies)
Discussion started by: bhakti_2025
3 Replies

3. UNIX for Advanced & Expert Users

Managing Users in a Global Environment

Hello, I am interested in your strategy for handling engineers Unix accounts when the engineers must log in to resources in a variety of locals in a global environment. The engineers home directory and normal environment is local to where the engineer is sitting. When they log in to a remote... (0 Replies)
Discussion started by: Randal
0 Replies

4. Solaris

Managing FileSystems on Solaris

Hello. I have got Solaris 10 8/07 on x86 installed successfully using CDs. While I had inserted 1st CD - I created 2 new filesystems also. But now after entering into Solaris - How do I manipulate sizes or created/delete filesystems by going to terminal? Thank you! (15 Replies)
Discussion started by: panchpan
15 Replies

5. What is on Your Mind?

Managing Geeks

Hi, I recently found this article in computerworld and I think it is very true - at least in my company ... what do you guys think - is the author right? Is it ignorant management that makes us IT people seem to be anti-social and weird? Please share your thoughts Kind regards zxmaus (5 Replies)
Discussion started by: zxmaus
5 Replies

6. Solaris

Problems managing user

I installed Solaris 10 in an old Dell computer given to me. The filesystem is ZFS (Default). The problem is that after logging in as root (first login) I wanted to add a user : n2jkw. I added the user at /export/home/n2jkw BTW, /export/home is where the 150G extra Hard Drive is mounted to.... (20 Replies)
Discussion started by: n2jkw
20 Replies

7. UNIX for Dummies Questions & Answers

expr help - managing strings

Hi guys, I need to use regular expressions in linux and I'm not quite experience in that field, maybe someone could give me some help with it. Basically, I need to take a text like this. A234321=http://www.google..... a normal URL But, I need to take the string starting at... (0 Replies)
Discussion started by: ocramas
0 Replies

8. Programming

Managing and using PTSes

Hello. I need to simulate a few serial links (doing a simulation of an application for a robot) and found socat which, at least with minicom, is working flawlessly. I would really like to make pts static: ie same numbers between reboots, and automatic (not me opening terminals and leaving... (2 Replies)
Discussion started by: erupter
2 Replies
SBUILD-ADDUSER(8)						   Debian sbuild						 SBUILD-ADDUSER(8)

NAME
sbuild-adduser - add an sbuild user SYNOPSIS
sbuild-adduser [-h|--help | -V|--version] USER1 [USER2 [USERn...]] DESCRIPTION
sbuild-adduser adds the specified users to the sbuild group, granting them the privelege to build packages with sbuild(1). The schroot(1) configuration must permit the user to obtain root permissions in the chroot via the root-users and root-groups options in schroot.conf, because this is required to install and remove build-dependencies inside the chroot. This is normally done using the sbuild group, but additional users or groups may be added in order to grant finer-grained permissions, for example to restrict individual users to particular chroots. OPTIONS
Actions -h, --help Display this manual. -V, --version Print version information. User selection USER The user to be granted sbuild access. EXAMPLES
To allow user rleigh sbuild access: % sudo sbuild-adduser rleigh AUTHORS
Roger Leigh. COPYRIGHT
Copyright (C) 2006-2008 Roger Leigh <rleigh@debian.org>. SEE ALSO
sbuild(1), sbuild-setup(7), schroot.conf(5). Version 0.63.2 18 Aug 2012 SBUILD-ADDUSER(8)
All times are GMT -4. The time now is 04:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy