Forum
« sudo »

Welcome Guest. Please Login or Register.
May 21, 2013, 4:27pm



Return to or visit the SalineOS webpage

Forum :: General :: New Linux User Questions :: sudo
« Page 2 of 2 Jump to page   Go    [Search This Thread] [Share Topic] [Print]
 AuthorTopic: sudo (Read 882 times)
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,336
 Re: sudo
« Reply #15 on Nov 22, 2011, 3:16pm »

If you want to use sudo debby, the best way is to add your username to the sudo group. Every member of the sudo group can use sudo for root tasks.

Open a root terminal through Applications > Accessories or using the su command and issuing this command:

gpasswd -a username sudo

Replace username with the username you have setup on the machine.

If this isn't working then please post the output of gpasswd -a username sudo
Link to Post - Back to Top  IP: Logged
62chevy
Senior Member
****
member is offline

[avatar]

Hard Core!



Joined: Jan 2011
Gender: Male
Posts: 412
Location: West Virginia, USA
 Re: sudo
« Reply #16 on Nov 22, 2011, 6:06pm »


Nov 4, 2011, 12:13pm, Anthony Nordquist wrote:
Its possible SalineOS will move to sudo and disable root for 2.0, but its hard to underestimate all the testing that needs done to make that merge smoothly.


Please do not do this Anthony. I like logging into root doing what I need and then logging out again. The last thing I want to do is type sudo in front of every command.
Link to Post - Back to Top  IP: Logged

Debian 6.0.3 Gnome2
Debian - Sid Caution DE may change on a whim.
SalineOS 1.5

debby
Full Member
***
member is offline





Joined: Nov 2011
Gender: Male
Posts: 124
 Re: sudo
« Reply #17 on Nov 23, 2011, 1:18pm »

Woah... I tried using the 3 separate commands that beardedragon suggested and finally something works. Thank You 8-) Thank You 8-) Thank You ;). Namely entering su, THEN root password (at prompt), THEN thunar, instead of all at once. It seems I may need a lesson in reading and implementing linux commands. Thanks beardedragon. So su rootpasswd and command all at once, does not work. reasonable
What I could not fathom was that su all by itself is an entire command which must be all by itself. Or more precisely that is the extent of my command knowledge.

I'm new as all get out to linux. All I know is in windows, what you do in one person's acct will not be able to be seen or used in another's which is why the root acct was like a fresh install. As well, as long as I can assume root privileges under user acct I should almost never need to login as root?
what 62 chevy said went way over my head folks

I'm going to use my newfound powers to try and compile something successfully:)

Btw, is there any harm in running Nautilus? I like the two-pane layout for moving files around.
I just switched from windows not a week ago (less actually) so please ignore my ramblings of ineptitude. Ignore my username as well. I'm ALL male.
« Last Edit: Nov 23, 2011, 1:46pm by debby »Link to Post - Back to Top  IP: Logged
beardedragon
Global Moderator
*****
member is offline

[avatar]



Joined: Feb 2011
Gender: Male
Posts: 857
 Re: sudo
« Reply #18 on Nov 23, 2011, 2:45pm »


Nov 23, 2011, 1:18pm, debby wrote:
Woah... I tried using the 3 separate commands that beardedragon suggested and finally something works. Thank You 8-) Thank You 8-) Thank You ;). Namely entering su, THEN root password (at prompt), THEN thunar, instead of all at once. It seems I may need a lesson in reading and implementing linux commands. Thanks beardedragon. So su rootpasswd and command all at once, does not work. reasonable
What I could not fathom was that su all by itself is an entire command which must be all by itself. Or more precisely that is the extent of my command knowledge.

I'm new as all get out to linux. All I know is in windows, what you do in one person's acct will not be able to be seen or used in another's which is why the root acct was like a fresh install. As well, as long as I can assume root privileges under user acct I should almost never need to login as root?
what 62 chevy said went way over my head folks

I'm going to use my newfound powers to try and compile something successfully:)

Btw, is there any harm in running Nautilus? I like the two-pane layout for moving files around.
I just switched from windows not a week ago (less actually) so please ignore my ramblings of ineptitude. Ignore my username as well. I'm ALL male.

Welcome to Linux. There are many ways to learn the command line, some shortcuts may seem confusing at first, glad you caught on. What Chevy is saying has to do with many commands you can use without being root, he does not want user as root all the time. Understandable, also it is not really safe if you have other people with access to your computer. Nautilus is a nice File Manager, use it at your own discretion. BTW, a username is just that, call yourself whatever you like. Glad to have you aboard.
Link to Post - Back to Top  IP: Logged

Robert Collard, Madison, WI
HP s5710f, 2x AMD Athlon II 260@3.2Ghz 3GB RAM, 640GB HD
Debian 7.0 XFCE-4.10 3.2.0-4-amd64

If you are satisfied with the results, please Edit your first post and add [Solved] to the Subject line.
62chevy
Senior Member
****
member is offline

[avatar]

Hard Core!



Joined: Jan 2011
Gender: Male
Posts: 412
Location: West Virginia, USA
 Re: sudo
« Reply #19 on Nov 23, 2011, 2:55pm »


Nov 23, 2011, 1:18pm, debby wrote:
Woah... I tried using the 3 separate commands that beardedragon suggested and finally something works. Thank You 8-) Thank You 8-) Thank You ;). Namely entering su, THEN root password (at prompt), THEN thunar, instead of all at once. It seems I may need a lesson in reading and implementing linux commands. Thanks beardedragon. So su rootpasswd and command all at once, does not work. reasonable
What I could not fathom was that su all by itself is an entire command which must be all by itself. Or more precisely that is the extent of my command knowledge.[/quote

We've all been there at one time. Next time try ' su - && thunar ' the && make bash wait till you put your password in and will then run thunar.

[quote author=debby board=newuser thread=416 post=4655 time=1322072283]I'm new as all get out to linux. All I know is in windows, what you do in one person's acct will not be able to be seen or used in another's which is why the root acct was like a fresh install. As well, as long as I can assume root privileges under user acct I should almost never need to login as root?
what 62 chevy said went way over my head folks


Stick around and you to will learn the use of (Recovery mode) ;D


Nov 23, 2011, 1:18pm, debby wrote:
I'm going to use my newfound powers to try and compile something successfully:)

Btw, is there any harm in running Nautilus? I like the two-pane layout for moving files around.
I just switched from windows not a week ago (less actually) so please ignore my ramblings of ineptitude. Ignore my username as well. I'm ALL male.


I made that switch over 10 years ago. The last install of Window$ was 98 SE and that didn't last long.

Link to Post - Back to Top  IP: Logged

Debian 6.0.3 Gnome2
Debian - Sid Caution DE may change on a whim.
SalineOS 1.5

Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,336
 Re: sudo
« Reply #20 on Nov 24, 2011, 12:24am »

This: http://www.youtube.com/watch?v=er8g6D_PqvY
Link to Post - Back to Top  IP: Logged
beardedragon
Global Moderator
*****
member is offline

[avatar]



Joined: Feb 2011
Gender: Male
Posts: 857
 Re: sudo
« Reply #21 on Nov 24, 2011, 11:52am »


Nov 24, 2011, 12:24am, Anthony Nordquist wrote:
This: http://www.youtube.com/watch?v=er8g6D_PqvY

Priceless.
Link to Post - Back to Top  IP: Logged

Robert Collard, Madison, WI
HP s5710f, 2x AMD Athlon II 260@3.2Ghz 3GB RAM, 640GB HD
Debian 7.0 XFCE-4.10 3.2.0-4-amd64

If you are satisfied with the results, please Edit your first post and add [Solved] to the Subject line.
debby
Full Member
***
member is offline





Joined: Nov 2011
Gender: Male
Posts: 124
 Re: sudo
« Reply #22 on Nov 24, 2011, 10:19pm »

Thanks a bunch all. Linux is like a 3 dimensional OS. "Hey Su, meet Debby". Anyways, saline is rather nice as is. I didn't get to compile anything correctly. I was attempting to install & compile Wally (becrux) but saline still uses the older qtlibs. I thought I updated openssl (to 1.00e) correctly but synaptic hasn't changed-lol.

So, adding "gpassword -a debby all..." to sudoers file is safe to leave as is, or should I remove it as needed? Plus I was just wondering if there was an easy way to make the numlock key stay on after a boot. Other than that, I have no complaints. I was considering trying slackware but that's more than I want to tackle atm. 8-)

I was considering multiple partitioning for some folders (/, home, user, swap), i think I may have skipped that when I installed saline, as well for the newer qt libs, but after reading the review on distrowatch for salix I declined that one also. The funniest thing is that foobar portable via wine works better than all the linux media players put together. Albeit I think exaile was the best when I ran mint gnome. It didn't go so well in saline.
Recovery mode? Please no. I'll just reinstall. I'm almost tempted to, just for the quit button snafu, but it can surely wait. i love how you can simply grab the latest linux version of firefox, extract and run, just like aurora does.
« Last Edit: Nov 24, 2011, 10:29pm by debby »Link to Post - Back to Top  IP: Logged
beardedragon
Global Moderator
*****
member is offline

[avatar]



Joined: Feb 2011
Gender: Male
Posts: 857
 Re: sudo
« Reply #23 on Nov 24, 2011, 11:12pm »


Nov 24, 2011, 10:19pm, debby wrote:
Thanks a bunch all. Linux is like a 3 dimensional OS. "Hey Su, meet Debby". Anyways, saline is rather nice as is. I didn't get to compile anything correctly. I was attempting to install & compile Wally (becrux) but saline still uses the older qtlibs.


Instead of Wally for a wallpaper changer use desktopnova, it will work just as well and easier to set up. Find it in Synaptic.
Link to Post - Back to Top  IP: Logged

Robert Collard, Madison, WI
HP s5710f, 2x AMD Athlon II 260@3.2Ghz 3GB RAM, 640GB HD
Debian 7.0 XFCE-4.10 3.2.0-4-amd64

If you are satisfied with the results, please Edit your first post and add [Solved] to the Subject line.
debby
Full Member
***
member is offline





Joined: Nov 2011
Gender: Male
Posts: 124
 Re: sudo
« Reply #24 on Nov 24, 2011, 11:28pm »

I'm using it already. I have 120 gigs of wallpaper (I had to copy to home ::)) and it was nice to at least be able to pause and also see the name of the file onscreen. Wally's nicer but much slower on changing. darn qt
« Last Edit: Nov 24, 2011, 11:30pm by debby »Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,336
 Re: sudo
« Reply #25 on Nov 25, 2011, 2:40pm »

You may be interested in this: http://gnome-look.org/content/show.php/VDesk+-+Visual+Desktop?content=141678

You can make videos of the wallpapers and have those videos play as your wallpaper. It also allows screensavers to play as a desktop background, but I haven't gotten slideshows to work. Pretty sure this is caused by a bug in the backend we are using for it.

Edit: To clarify I didn't write this, another Anthony did, but I did a bunch of "assisting".
« Last Edit: Nov 25, 2011, 2:46pm by Anthony Nordquist »Link to Post - Back to Top  IP: Logged
mihail
Full Member
***
member is offline





Joined: Dec 2011
Gender: Male
Posts: 120
Location: Romania
 Re: sudo
« Reply #26 on Dec 10, 2011, 1:28pm »


Nov 4, 2011, 12:13pm, Anthony Nordquist wrote:

Its possible SalineOS will move to sudo and disable root for 2.0, but its hard to underestimate all the testing that needs done to make that merge smoothly.


imho dont worry about it, it would be too much of a hassle, su is fine, also having a root user suits me more...

the man just didnt knw, I think that was the idea. Being used with sudo I was surprised myself "not to be in the sudoers". But I remembered su and was reliefed :)


mihail,

a man from the East with bed inglish haha
« Last Edit: Dec 10, 2011, 1:29pm by mihail »Link to Post - Back to Top  IP: Logged

« Page 2 of 2 Jump to page   Go    [Search This Thread] [Share Topic] [Print]



Anthony Nordquist, on behalf of the SalineOS project, is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. As such, if you click the above banner and then make any purchase including digital downloads, a small percentage will be paid to the SalineOS project.
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile