Re: a 'mount' question

2002-04-29 Thread Daniel Pearson
On Sun, Apr 28, 2002, Muli Ben-Yehuda [EMAIL PROTECTED] wrote the following: ObLinuxTriviaQ: Using one standard unix command, hide a all of the files in a single user's home directory, so that they will be totally inaccessible until the admin decides otherwise. Answers on or off list, as you

Re: a 'mount' question

2002-04-29 Thread Muli Ben-Yehuda
On Mon, Apr 29, 2002 at 08:16:11AM -0400, Daniel Pearson wrote: On Sun, Apr 28, 2002, Muli Ben-Yehuda [EMAIL PROTECTED] wrote the following: ObLinuxTriviaQ: Using one standard unix command, hide a all of the files in a single user's home directory, so that they will be totally inaccessible

Re: a 'mount' question

2002-04-29 Thread Geoffrey S. Mendelson
Muli Ben-Yehuda wrote: On Mon, Apr 29, 2002 at 08:16:11AM -0400, Daniel Pearson wrote: On Sun, Apr 28, 2002, Muli Ben-Yehuda [EMAIL PROTECTED] wrote the following: ObLinuxTriviaQ: Using one standard unix command, hide a all of the files in a single user's home directory, so that they

Re: a 'mount' question

2002-04-29 Thread Henry Ficher
chmod /home/baduser No, not good enough. If the luser is still logged in, he can chmod(1) the directory right back. In any case, it was only a trivia question. If anyone has other good ones, where trivial googling won't be enough to reveal the answer, do share. -- The ill-formed

RE: a 'mount' question

2002-04-29 Thread Iftach Hyams
The solution I suggested to Muli was mv /home/baduser /root/.ssh/ This might get ugly if (reasonably) /root and /home are in different file systems. Mounting a null F.S. or chmod are better. This e-mail message has been sent by Elbit Systems Ltd. and is for the use of the intended

RE: a 'mount' question

2002-04-29 Thread Iftach Hyams
chown -Rf root.root /home/baduser or somesuch. All recursive actions are bad since they are hard to revert (in case of penitence). This e-mail message has been sent by Elbit Systems Ltd. and is for the use of the intended recipients only. The message may contain information that is

Re: a 'mount' question

2002-04-29 Thread Nadav Har'El
On Mon, Apr 29, 2002, Iftach Hyams wrote about RE: a 'mount' question: The solution I suggested to Muli was mv /home/baduser /root/.ssh/ This might get ugly if (reasonably) /root and /home are in different file systems. Mounting a null F.S. or chmod are better. Some people didn't

Re: a 'mount' question

2002-04-29 Thread Oleg Goldshmidt
IMHO the chmod is right on track, when combined with 2 other things. The original question read: Using one standard unix command... -- Oleg Goldshmidt | [EMAIL PROTECTED] We work by wit, and not by witchcraft, And wit depends on dilatory time...

Re: a 'mount' question

2002-04-29 Thread Oleg Goldshmidt
Henry Ficher [EMAIL PROTECTED] writes: Another angle: baduser can see his files, but can't access them. If a user can read a file he can copy it. -- Oleg Goldshmidt | [EMAIL PROTECTED] We work by wit, and not by witchcraft, And wit depends on dilatory time...

Re: a 'mount' question

2002-04-29 Thread Oleg Goldshmidt
Geoffrey S. Mendelson [EMAIL PROTECTED] writes: 2. Make him unloginable. Some options include passwd -l, replacing password in /etc/passwd and /etc/shadow with NO-LOGIN, etc. Or to be mean, change his login shell to /bin/false It is not quite clear to me, but I think the question

Re: a 'mount' question

2002-04-28 Thread Shai Bentin
Sorry guys to have bothered you, I found out by my self!!! shai On א', 2002-04-28 at 12:31, Shai Bentin wrote: How can I mount a DiskOnKey device with ownership ov a non root user. Or, alternativly mount it as root with permissions to all reading and writing? shai

Re: a 'mount' question

2002-04-28 Thread Muli Ben-Yehuda
On Sun, Apr 28, 2002 at 01:46:26PM +0300, Shai Bentin wrote: Sorry guys to have bothered you, I found out by my self!!! In that case, why don't you share it with the rest of the list, in case someone else looks for it in the future? ObLinuxTriviaQ: Using one standard unix command, hide a all

Re: a 'mount' question

2002-04-28 Thread Shai Bentin
Ok. First the command would be: mount -t vfat -o umask=0 [your key device] [mount point] but it's better to make a propper entry in your fstab file. What I put in mounts the device with read/write/execute permissions to all, under the Uid Gid of the user doing the mount. The line entered in

Re: a 'mount' question

2002-04-28 Thread Gilad Ben-Yossef
On Sun, 2002-04-28 at 13:57, Muli Ben-Yehuda wrote: ObLinuxTriviaQ: Using one standard unix command, hide a all of the files in a single user's home directory, so that they will be totally inaccessible until the admin decides otherwise. Answers on or off list, as you wish. BOfH rm -rf

Re: a 'mount' question

2002-04-28 Thread Gilad Ben-Yossef
On Sun, 2002-04-28 at 15:09, Gilad Ben-Yossef wrote: On Sun, 2002-04-28 at 13:57, Muli Ben-Yehuda wrote: ObLinuxTriviaQ: Using one standard unix command, hide a all of the files in a single user's home directory, so that they will be totally inaccessible until the admin decides

Re: a 'mount' question

2002-04-28 Thread Muli Ben-Yehuda
On Sun, Apr 28, 2002 at 03:14:06PM +0300, Gilad Ben-Yossef wrote: On Sun, 2002-04-28 at 15:09, Gilad Ben-Yossef wrote: On Sun, 2002-04-28 at 13:57, Muli Ben-Yehuda wrote: ObLinuxTriviaQ: Using one standard unix command, hide a all of the files in a single user's home directory, so

Re: a 'mount' question

2002-04-28 Thread Yedidyah Bar-David
On Sun, Apr 28, 2002 at 03:14:06PM +0300, Gilad Ben-Yossef wrote: On Sun, 2002-04-28 at 15:09, Gilad Ben-Yossef wrote: On Sun, 2002-04-28 at 13:57, Muli Ben-Yehuda wrote: ObLinuxTriviaQ: Using one standard unix command, hide a all of the files in a single user's home directory, so