Dear Lists, This is perhaps slightly off topic, so bear with me. :-) I am interested to know, how many of you, actually use a non-root account to get work done. Since there is so many risks of constantly using a root account, how in the world are you supposed to get work done without being logged in as root?? For example, most of my bash scripts that I write, require the use of certain files, which, if not ran as root, would require me to run numerous chmod/chgrp commands to get them to run. How have people, gotten around this?? Regards, Thomas Adam Please note that the content of this message is confidential between the original sender and the intended recipient(s) of the message. If you are not an intended recipient and/or have received this message in error, kindly disregard the content of the message and return it to the original sender. If you have any complaints about this message please reply to: office@purbeck.dorset.sch.uk The Purbeck School E-Mail server running: users.purbeck.dorset.sch.uk
Intreresting question.
I am interested to know, how many of you, actually use a non-root account to get work done. Since there is so many risks of constantly using a root account, how in the world are you supposed to get work done without being logged in as root??
I NEVER use the root account. I only use it if I have problems with KDE and the only way I know hot to solve it is to delete my home directory and re-create it. However, I 1st need to copy my "personal" files to root dir and then back to "my" home dir... When I need to do something rooty, I use the ctrl+f2 (run as another user...) or from terminal, using the "su" command. Yours, Ziga
n6tadam wrote:
Dear Lists,
This is perhaps slightly off topic, so bear with me. :-)
I don't think so ...
I am interested to know, how many of you, actually use a non-root account to get work done. Since there is so many risks of constantly using a root account, how in the world are you supposed to get work done without being logged in as root??
Well, my wife does her e-mail and all the other things as user. I told her she would not be able to destroy anything [mistakenly, of course :-))] since she is not even allowed too, and that was a good argument for Linux on our box at home. I do everything as user 'wolfi' too, but I could switch to the root account :-))
For example, most of my bash scripts that I write, require the use of certain files, which, if not ran as root, would require me to run numerous chmod/chgrp commands to get them to run.
Yes, that's a thing I really do not like: you have to change all the permissions and stuff just to be able to scan as user, and, after every update, you must do this again. If the scanner belongs to 'root/disk', why doesn't SuSE-YasT take a new user to 'disk' automatically ?? I already made a script 'update.restore' to readjust the 666 mode on all the devices (and some other things). Unluckily that's the only hint I have, write your own script for the chmod-stuff and run it once after each update.
Regards,
Thomas Adam
Regards either ... Wolfi ================================== mailto:wolfi_z@web.de
Is there an application or something that makes changing and managing permissions easier instead of having to do it the old fashioned way? Diane ----- Original Message ----- From: "wolfi" <wolfi_z@web.de> To: "SuSE" <suse-linux-e@suse.com> Sent: Friday, June 29, 2001 8:26 AM Subject: Re: [SLE] Use of Linux
n6tadam wrote:
Dear Lists,
This is perhaps slightly off topic, so bear with me. :-)
I don't think so ...
I am interested to know, how many of you, actually use a non-root account to get work done. Since there is so many risks of constantly using a root account, how in the world are you supposed to get work done without being logged in as root??
Well, my wife does her e-mail and all the other things as user. I told her she would not be able to destroy anything [mistakenly, of course :-))] since she is not even allowed too, and that was a good argument for Linux on our box at home. I do everything as user 'wolfi' too, but I could switch to the root account :-))
For example, most of my bash scripts that I write, require the use of certain files, which, if not ran as root, would require me to run numerous chmod/chgrp commands to get them to run.
Yes, that's a thing I really do not like: you have to change all the permissions and stuff just to be able to scan as user, and, after every update, you must do this again. If the scanner belongs to 'root/disk', why doesn't SuSE-YasT take a new user to 'disk' automatically ?? I already made a script 'update.restore' to readjust the 666 mode on all the devices (and some other things). Unluckily that's the only hint I have, write your own script for the chmod-stuff and run it once after each update.
Regards,
Thomas Adam
Regards either ... Wolfi ================================== mailto:wolfi_z@web.de
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Konqueror, Nautilus, GMC, MC etc etc provide this functionality (logical place for it IMHO)
Is there an application or something that makes changing and managing permissions easier instead of having to do it the old fashioned way? -- James Ogley, Unix Systems Administrator, Pinnacle.Net james.ogley@pinnacle.co.uk www.pinnacle.co.uk +44 20 8731 3619
This email was created and sent with: Evolution 0.10 *********************************************************************** CONFIDENTIALITY. This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Pinnacle Insurance Plc. If you have received this e-mail in error please immediately notify our Helpdesk on +44 (0) 20 8207 9555. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************
I dont want to get philosophical but isnt it doing the old fashion way what makes things fun On Fri, 29 Jun 2001, Diane wrote:
Is there an application or something that makes changing and managing permissions easier instead of having to do it the old fashioned way?
Diane
----- Original Message ----- From: "wolfi" <wolfi_z@web.de> To: "SuSE" <suse-linux-e@suse.com> Sent: Friday, June 29, 2001 8:26 AM Subject: Re: [SLE] Use of Linux
n6tadam wrote:
Dear Lists,
This is perhaps slightly off topic, so bear with me. :-)
I don't think so ...
I am interested to know, how many of you, actually use a non-root account to get work done. Since there is so many risks of constantly using a root account, how in the world are you supposed to get work done without being logged in as root??
Well, my wife does her e-mail and all the other things as user. I told her she would not be able to destroy anything [mistakenly, of course :-))] since she is not even allowed too, and that was a good argument for Linux on our box at home. I do everything as user 'wolfi' too, but I could switch to the root account :-))
For example, most of my bash scripts that I write, require the use of certain files, which, if not ran as root, would require me to run numerous chmod/chgrp commands to get them to run.
Yes, that's a thing I really do not like: you have to change all the permissions and stuff just to be able to scan as user, and, after every update, you must do this again. If the scanner belongs to 'root/disk', why doesn't SuSE-YasT take a new user to 'disk' automatically ?? I already made a script 'update.restore' to readjust the 666 mode on all the devices (and some other things). Unluckily that's the only hint I have, write your own script for the chmod-stuff and run it once after each update.
Regards,
Thomas Adam
Regards either ... Wolfi ================================== mailto:wolfi_z@web.de
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
_______________________ Raul Gutierrez Segales oxford@campoalto.edu.py
It's what makes it time consuming and a chore (IMHO). I started out learning how to use linux on slackware with no gui and I couldn't wait to get a version that lets me just point and click. Diane ----- Original Message ----- From: "Raul Gutierrez Segales" <oxford@campoalto.edu.py> To: "Diane" <spiderspell@yahoo.com> Cc: "SuSE" <suse-linux-e@suse.com> Sent: Friday, June 29, 2001 8:54 AM Subject: Re: [SLE] Use of Linux
I dont want to get philosophical but isnt it doing the old fashion way what makes things fun
On Fri, 29 Jun 2001, Diane wrote:
Is there an application or something that makes changing and managing permissions easier instead of having to do it the old fashioned way?
Diane
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
* n6tadam <n6tadam@users.purbeck.dorset.sch.uk> (Fri, Jun 29, 2001 at 01:11:04PM +0100)
This is perhaps slightly off topic, so bear with me. :-)
I am interested to know, how many of you, actually use a non-root account to get work done. Since there is so many risks of constantly using a root account, how in the world are you supposed to get work done without being logged in as root??
Define work .. Jason writes and sells software for the oil and gas world, running under a bunch of Unix flavours, including Unix. None of them require rootpriviliges (though if you want to install the software it's easier if you do have root permission). Most of the day to day work I do (including a bunch of system administrative tasks) are done as user myself, not as root. The only things I need a root account for are: -installing RPMs - burning CDs (since I've never bothered with changing permissions).
For example, most of my bash scripts that I write, require the use of certain files, which, if not ran as root, would require me to run numerous chmod/chgrp commands to get them to run.
Please show me one of those scripts, Most of the scripts I've written for day-to-day work (perl,csh (when I didn;t know better) and sh) all can be run (and usually are run) as user, not as root. Currently listening to: the hum of my computer Gerhard, <@jasongeo.com> == The Acoustic Motorbiker == -- __O Standing above the crowd, he had a voice so strong and loud =`\<, we'll miss him (=)/(=) Ranting and pointing his finger, At everything but his heart we'll miss him
Op vrijdag 29 juni 2001 14:11, schreef je:
Dear Lists,
This is perhaps slightly off topic, so bear with me. :-)
I am interested to know, how many of you, actually use a non-root account to get work done. Since there is so many risks of constantly using a root account, how in the world are you supposed to get work done without being logged in as root??
what i usually do is the following: i log into KDE as user, do all my normal stuff there (reading mail, writing my thesis, surfing the net, etc.) when i need to do something as root, i can usually do this from the command line, so i simply switch to a console screen, with Ctrl-Alt-F1 (through F6) and log on as root. SuSE provides six of those screens, which i have always found more than enough for what i do. (i usually have emacs running on Alt-F1, and use two or three others for executing commands.) you can switch between them with Alt-F1 through F6, or with Alt + arrow left/right. Alt-F7 gets you back to X. hope this is what you were asking for... :-) joost -- Joost Kremers, M.A. University of Nijmegen, the Netherlands Department of Languages and Cultures of the Middle-East PO Box 9103 6500 HD Nijmegen tel: + 32 24 3612996 fax: + 32 24 3611972 http://joostkremers.nijmegennet.nl ----------------------- a computer virus is a program that: - spreads like wildfire - gets on your computer without you wanting it - can cause unexpected system failures and data loss pray tell, which part of this definition does *not* apply to Windows?
On Fri, 29 Jun 2001 13:11:04 +0100 "n6tadam" <n6tadam@users.purbeck.dorset.sch.uk> wrote:
I am interested to know, how many of you, actually use a non-root account to get work done. Since there is so many risks of constantly using a root account, how in the world are you supposed to get work done without being logged in as root??
For example, most of my bash scripts that I write, require the use of certain files, which, if not ran as root, would require me to run numerous chmod/chgrp commands to get them to run.
How have people, gotten around this??
Hi Thomas, Have you investigated (1) "su -c [command]" and (2) man sudo ? Between the two you can get a lot done without logging in as root. Geoff _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
On Fri, Jun 29, 2001 at 01:11:04PM +0100, n6tadam wrote:
Dear Lists,
This is perhaps slightly off topic, so bear with me. :-)
OK.
I am interested to know, how many of you, actually use a non-root account to get work done. Since there is so many risks of constantly using a root account, how in the world are you supposed to get work done without being logged in as root??
I have two distinct personalities with respect to Linux: end user and system administrator. For day-to-day activities, I am the end user and use a non-root account. For system administrator, I log in as root.. System admin is mostly limited to installing and configuring new software and occasionally new hardware (most recent being a network printer and a router). Other system admin stuff (nightly backup, etc.) is run as root from cron jobs. 99% of what I do is as an end user via a non-root account.
For example, most of my bash scripts that I write, require the use of certain files, which, if not ran as root, would require me to run numerous chmod/chgrp commands to get them to run.
What are some examples of the things these scripts do? -- ____________________________________________________________________ Robert Paulsen paulsen@texas.net
Dear List, Thank you all for your replies. I must admit, that I was not very clear with my question. I knew all about the command "su" and groups and all, but I just wanted to know, a quick way of getting around the "permissions". Anyhow, thankyou all again. Regards, Thomas Adam Please note that the content of this message is confidential between the original sender and the intended recipient(s) of the message. If you are not an intended recipient and/or have received this message in error, kindly disregard the content of the message and return it to the original sender. If you have any complaints about this message please reply to: office@purbeck.dorset.sch.uk The Purbeck School E-Mail server running: users.purbeck.dorset.sch.uk
No, you aren't supposed to have an easy way to get around the permissions, that is one of the things that makes linux secure. Diane ----- Original Message ----- From: "n6tadam" <n6tadam@users.purbeck.dorset.sch.uk> To: "Robert C. Paulsen Jr." <paulsen@texas.net> Cc: <newbie@linux-mandrake.com>; "SuSE" <suse-linux-e@suse.com> Sent: Friday, June 29, 2001 9:20 AM Subject: Re: [SLE] Use of Linux
Dear List,
Thank you all for your replies. I must admit, that I was not very clear with my question. I knew all about the command "su" and groups and all, but I just wanted to know, a quick way of getting around the "permissions".
Anyhow, thankyou all again.
Regards,
Thomas Adam
Please note that the content of this message is confidential between the original sender and the intended recipient(s) of the message. If you are not an intended recipient and/or have received this message in error, kindly disregard the content of the message and return it to the original sender.
If you have any complaints about this message please reply to: office@purbeck.dorset.sch.uk
The Purbeck School E-Mail server running: users.purbeck.dorset.sch.uk
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Have you thought of using the /etc/permissions.xxxxx file? If you maintain and preserve that file, at least you would not need to reset permissions manually each time you do an upgrade or something. Just a thought. Eddie On Friday 29 June 2001 2:20 pm, n6tadam wrote:
Dear List,
Thank you all for your replies. I must admit, that I was not very clear with my question. I knew all about the command "su" and groups and all, but I just wanted to know, a quick way of getting around the "permissions".
Anyhow, thankyou all again.
Regards,
Thomas Adam
Please note that the content of this message is confidential between the original sender and the intended recipient(s) of the message. If you are not an intended recipient and/or have received this message in error, kindly disregard the content of the message and return it to the original sender.
If you have any complaints about this message please reply to: office@purbeck.dorset.sch.uk
The Purbeck School E-Mail server running: users.purbeck.dorset.sch.uk
On Fri, 29 Jun 2001, n6tadam wrote:
many of you, actually use a non-root account to get work done.
~ on mah stand_alone puter, usually log in as <root> on F1 and, as <user> on F2 . . . so am writing to mah gran_ma on F2 , and suddenly want to zip up mah /home directory and back it onto an external /zip_drive ~ just needs Alt_Cntrl_F1 to flip to root . . . do the admin, and, then, Alt_Cntrl_F2 to return to my user account, to continue writing letter ~ ach so ! -- best wishes --- ____________ sent on Linux ____________
On 29 Jun 2001 08:11:04 -0400, n6tadam wrote:
I am interested to know, how many of you, actually use a non-root account to get work done. Since there is so many risks of constantly using a root account, how in the world are you supposed to get work done without being logged in as root??
I always log in as a regular user, after some early experience of doing "stupid sysadmin tricks" as the root user. I add myself to the sudoers file so I can run one-off commands as root. If I actually need to do something as root (edit the httpd.conf file & restart apache, for example), I have an icon on my panel to bring up a terminal as root. (Because of this I also have an icon to lock the screen when I'm away, which I use regularly.)
For example, most of my bash scripts that I write, require the use of certain files, which, if not ran as root, would require me to run numerous chmod/chgrp commands to get them to run.
Have you tried adding your username to the correct groups in the /etc/group file? I had to add myself to the disk group before I could get my cd-player prog to run as non-root. You can also use sudo in your scripts to access commands or files that need root access. Add your username to the sudoers file and specify the commands you need along with the "NOPASSWD:" keyword. While this does have some security ramifications (if your account is compromised, the intruder will have access to those commands), it is safer to use sudo than to run everything as root. Daniel
participants (13)
-
Daniel Prosser
-
Diane
-
Eddie Howson
-
Gerhard den Hollander
-
James Ogley
-
Joost Kremers
-
n6tadam
-
quintaq@yahoo.co.uk
-
Raul Gutierrez Segales
-
Robert C. Paulsen Jr.
-
tabanna
-
wolfi
-
Ziga Dolhar