10 More Discussions You Might Find Interesting
I want to zip up my fstab file for backup purposes.
This does not work because of permission issues.
zip -u fstab.zip fstab
Can I use this with zip?
echo xxx | sudo -S
or change fstab owner to me? (3 Replies)
Discussion started by: drew77
2. UNIX for Dummies Questions & Answers
On my family laptop, I have a directory named /local.
It is owned by root.
I want to create a sub-directory named documents ( /local/documents ).
I want to exclude exec for every body in that directory
I want every authenticated linux user can create a sub directory ( ie :... (7 Replies)
Discussion started by: jcdole
I'm logged in to an AIX box now and we need to do an audit on this box.
Which command will show all the files and directories owned by root user with permissions as 777 ? (8 Replies)
Discussion started by: newtoaixos
4. UNIX for Dummies Questions & Answers
I've tried to figure this out.
I'm only about 6 mos into my AIX admin duties, but I've got a "security" problem I can't figure out.
I've created a sub directory as follows:
drwx------ 2 root system 256 Apr 13 16:02 mike
I've logged in another session with the following user:
$ id... (2 Replies)
Discussion started by: mpheine
5. UNIX for Dummies Questions & Answers
Being a system administrator i came across a statement as " Excluding temporary directories /tmp and /var/tmp, no root owned files should be in world writable directories"
While the above statement may look straight forward but how would i check if there are any such directories in the... (7 Replies)
Discussion started by: pinga123
Hi all. I hope someone could give me a hand on installing Backup Exec agent on AIX machine :(
OS: AIX 5.3
OS: Windows Server 2003
I download "Legacy Unix agent.tar", untar, then run file... (0 Replies)
Discussion started by: bsddaemon
First of all, I wanted to try AIX and purchased a rs6000 from ebay with AIX6.1 installed.
My plan is to lear AIX, but I need to install ssh on the machine for the remote access.
The point is that I have seen nowhere a how'to or something.
Can you please give me some advices?
... (11 Replies)
Discussion started by: aixn00b
I upgraded my openssh to 5.0. Now I need to modify the sshd_config file to my company's new policy. My problem? There are two config file on my system:
Which should I edit? Please help. Thanks. (1 Reply)
Discussion started by: itik
Hi, I've just managed to install openssh in my home directory on a server I have access to by using --prefix=$HOME/local after ./configure. Another thing I was having trouble with without root access was privilege separation, so I disabled that in my sshd_config. However, when I run... (10 Replies)
Discussion started by: sayeo
10. Shell Programming and Scripting
I am trying to write a CGI program which accesses UNIX configuration files and changes them as required.
The thing is, I don't want the CGI program to be "root" owned - it's Perl based! Is there any way that the Perl CGI program can request a username and password - and then use this to... (1 Reply)
Discussion started by: WIntellect
CHROOT(8) BSD System Manager's Manual CHROOT(8)
chroot -- change root directory
chroot [-u -user] [-g -group] [-G -group,group,...] newroot [command]
The chroot utility changes its current and root directories to the supplied directory newroot and then exec's command, if supplied, or an
interactive copy of the user's login shell.
If the -u, -g or -G options are given, the user, group and group list of the process are set to these values after the chroot has taken
place. See setgid(2), setgroups(2), setuid(2), getgrnam(3) and getpwnam(3).
Note, command or the shell are run as your real-user-id.
The following environment variable is referenced by :
SHELL If set, the string specified by SHELL is interpreted as the name of the shell to exec. If the variable SHELL is not set, /bin/sh is
chdir(2), chroot(2), environ(7), jail(8)
The chroot utility first appeared in 4.4BSD.
chroot should never be installed setuid root, as it would then be possible to exploit the program to gain root privileges.
January 24, 2002 BSD