Text based puttygen or equivalent
Hi, I want to convert OpenSSH keys to PuTTy format automagically in FreeBSD so I'm looking for a text based application for this. Is there any? Thanks, Patrik Jansson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Text based puttygen or equivalent
Matthew Seaman wrote: Patrik Jansson wrote: I want to convert OpenSSH keys to PuTTy format automagically in FreeBSD so I'm looking for a text based application for this. Is there any? ssh-keygen(1). Specifically the '-e' option. putty uses the same format as the commercial SSH implementation. Yes, but that only exports the public key. I need to convert the private key to one which PuTTY likes. Something like: PuTTY-User-Key-File-2: ssh-dss Encryption: aes256-cbc Comment: imported-openssh-key Public-Lines: 10 yadayada... public key... Private-Lines: 1 yadayada Private-MAC: yadayda Cheers, Patrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What's using the disk so much?
Hi, vmstat reports that quite a few processes are waiting for io (disk access) so I ran gstat to see how much the drive is working and it says more or less 100% constantly. How can I determine which process (if it's mostly one single process) is using the disk so much? top says the CPU is mostly idle. Thanks, -Patrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's using the disk so much?
Hi, vmstat reports that quite a few processes are waiting for io (disk access) so I ran gstat to see how much the drive is working and it says more or less 100% constantly. How can I determine which process (if it's mostly one single process) is using the disk so much? top says the CPU is mostly idle. use top -m io I have completly missed that option, thanks. I will also checkout sysustils/lsof which J.A. recommended. -Patrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACL: Default and other problems
Looks like noone is really using ACLs (and default ACLs) on fbsd. classic unix uid/gid is simplest and enough for MOST (or every - i think) cases. it just needs to be used right Please imagine this. We're running a web server and want each user to be able to modify/delete files created (owned) by Apache user if the file is in that particular users home directory. Maybe this is possible with just uid/gid if every new file created within this directory has the users group and the permissions 664 or even 775, how would this be done (forcing new files group identity and permissions). Thanks, -Patrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACL: Default and other problems
I experiemented with the ACls under fbsd 5.3 and got some problems with how freebsd calculates the permissions. I followed the instructions on [0]. My aim is to install default ACLs, so a group of users (with possible broken umask) can work together on git-repositories. The idea is that the default ACL will provide ACL-based rwx access for the group 'git' (minus real permissions / mask makes rw or rwx for files, rwx for directories). I've mostly problems with default ACLs and the new permissions. I put two test-scripts to [1], plus their output (*.output) and the questions I've to the results (*.question) on a website. Any pointers on what I did wrong or in depth FreeBSD-ACL documentation are appreciated. I would also like to know if there's a in-depth ACL documentation. I posted a question about ACLs because I'm having difficulties setting up default ACLs. My question was posted 11/10 but I haven't got an answer yet. Cheers, Patrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: webbased email administration
Hi, Andreas Widerøe Andersen skrev: Hi, We're considering setting up an email service here and we need to give IT admins in various companies the ability to administer their own email addresses (under their domain). I'm looking for software that will do this. We currently run Sendmail and WU-POP3, but can easily change to Postfix or whatever needed. Can anyone recommend a webbased system for administration of email adresses that will run on FreeBSD? I'm running Exim with Vexim on a few machines. Not to advanced GUI but it does the job. http://silverwraith.com/vexim/ - Patrik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with ACLs
I'm trying to set default ACLs on a directory to restrict access to a directory and every file/directory created within this directory to two users. I have used this website to get a grip of how it works: http://www.onlamp.com/pub/a/bsd/2003/08/14/freebsd_acls.html Following that example: # setfacl -d -m u::rwx,g::rwx,o::---,u:apache:rwx,u:web26124:rwx test # setfacl -m u::rwx,g::rwx,o::---,u:apache:rwx,u:web26124:rwx test # cd test # touch file.txt # getfacl file.txt #file:file.txt #owner:0 #group:1003 user::rw- user:apache:rwx # effective: r-- user:web26124:rwx # effective: r-- group::rwx # effective: r-- mask::r-- other::--- Looks fine to me. So now I have a PHP script (runs as apache) that creates a directory (inside this directory I have just set default ACLs for) and a file within it: # getfacl dir/file #file:dir/file #owner:1004 #group:1003 user::rw- user:apache:rwx # effective: r-- user:web26124:rwx # effective: r-- group::rwx # effective: r-- mask::r-- other::--- And then I try to remove the file as web26124: $ whoami web26124 $ rm dir/file override rw-r- apache/apache for dir/file? yes rm: dir/file: Permission denied Files that are created in the directory where I have set default ACLs is removable by web26124 but not files that are created in the subdirectory. # ls -alF total 16 drwxrwx---+ 3 web26124 apache 512 Oct 11 10:14 ./ drwxr-xr-x 4 web26124 apache 512 Oct 11 10:01 ../ -rw-r--r--+ 1 root apache 64 Oct 11 10:14 create.php drwxr-x---+ 2 apacheapache 512 Oct 11 10:13 dir/ - Files inside this directory is NOT removable -rw-r-+ 1 apache apache0 Oct 11 10:13 file3 - Removable What's wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]