08-13-2008
Be aware that the users will still be allowed on world writable directories (such as /tmp). Otherwise, you will got to stick with mcnamara's opinion on chroot(). Still, I must say chroot() is awfully easy to bypass without the proper kernel limitations (grsecurity).
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
folks;
I'm going to use LDAP on Solaris 10 to authenticate users, i have 3 questions, i'm hoping it can be possible:
1. when users login for the first time, Is there a way to auto create a home directory like "/home/"user_name" so we don't have to a create a home directory for every single... (3 Replies)
Discussion started by: Katkota
3 Replies
2. UNIX for Dummies Questions & Answers
folks;
I created a new users on my SUSE box and i need to give this user/group a read write access to one specific folder. here's the details:
- I created new user "funny" under group "users".
- I need to give this user "funny" a read/write access to another directory that is owned by "root".... (3 Replies)
Discussion started by: Katkota
3 Replies
3. Shell Programming and Scripting
I need to find all the files that have group Read or Write permission or files that have user write permission.
This is what I have so far:
find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}'
It shows me all files where group read = true, group write = true... (5 Replies)
Discussion started by: shunter63
5 Replies
4. UNIX for Advanced & Expert Users
Folks,
I have a problem with a particular file, that seems to have some kind of lock on it, that takes around 1 hour approx to timeout. I have used lsof and nothing has an open file handle on it, yet I cannot open it. My user/group owns the file and I can create edit/delete files in... (6 Replies)
Discussion started by: scottrus
6 Replies
5. Shell Programming and Scripting
Special group and user privileges help
I'm having some trouble understanding the group and user privileges.
So let's say I make a group.. and assign some users to the groups that I made.
How would I --
1) Allow different groups and different users to have full privileges over a file with .X... (5 Replies)
Discussion started by: LibRid
5 Replies
6. Shell Programming and Scripting
hi,
i am new in unix.......i am using bash and i want to create a user which has only some command and scripts permission.........is it possible?
thanx (1 Reply)
Discussion started by: rakeshtomar82
1 Replies
7. Shell Programming and Scripting
Hi, I'm new to the world of UNIX and have been asked to create a complex script (at least complex to me:confused:) for AIX UNIX to create a report of all the users on the server including server, user, UID, groups, GID, etc.
Found a script using lsuser, but the output is still lacking. 2 things I... (2 Replies)
Discussion started by: panthur
2 Replies
8. Red Hat
Hi,
In the following output you can see the the user "richard" is a member on the team/group "developers":
# id richard
uid=10247(richard) gid=100361(developers) groups=100361(developers),10053(testers)
but in the following details of the said group (developers), the said user... (3 Replies)
Discussion started by: indiansoil
3 Replies
9. AIX
Hi Everyone,
We are encountering the following issue on AIX 5.3. When we do ls -ltr the list displays only user id and group id instead of user name and group name.
This is happening for all users except root. Whe we do ls -ltr with root user it shows perfectly fine.
When we searched... (25 Replies)
Discussion started by: madhav.kunapa
25 Replies
LEARN ABOUT DEBIAN
ltsp-chroot
ltsp-chroot(8) ltsp-chroot(8)
NAME
ltsp-chroot - Chroots into a specific LTSP thin client chroot
SYNOPSIS
ltsp-chroot <options>
DESCRIPTION
ltsp-chroot chroots into a specified LTSP chroot. Optional arguments can be provided to customize the chroot location as well as extra
mounts. If present, default arguments will be read from the configuration file /etc/ltsp/ltsp-chroot.conf, and overwritten with used com-
mand line options.
OPTIONS
-a --arch arch
Sets the architecture of the target chroot. Defaults vary by distribution.
-b --base dir
Sets the path of the target chroot. Defaults to /opt/ltsp/.
-c --mount-package-cache
If set, mounts the server package directories to the chroot previous to chrooting. Settings vary by distribution.
-d --mount-dev
If set, mounts the server dev and devpts directories to the chroot previous to chrooting.
-p --mount-proc
If set, mounts the server proc to the chroot previous to chrooting.
-m --mount-all
If set, mounts the proc, dev and package directories to the chroot before chrooting.
-p --copy-resolv-conf
If set, copies the server resolv.conf to the chroot previous to chrooting.
-h --help Displays the ltsp-chroot help message.
SEE ALSO
ltsp-build-client(8),
AVAILABILITY
ltsp-chroot is part of ltsp package and the latest versions are available in source form from https://launchpad.net/products/ltsp.
MAN PAGE AUTHOR
Wim Muskee <wimmmuskee@gmail.com>
2012-02-11 ltsp-chroot(8)