The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Change other account password from root access rakeshou UNIX for Dummies Questions & Answers 4 11-30-2007 11:06 AM
How to create a new ftp user account with limited access..? Jeremy3 SUN Solaris 6 09-01-2006 06:52 AM
Other than root user .Normal user is unable to create files mallesh UNIX for Advanced & Expert Users 1 06-22-2005 01:18 PM
Root account disabled and unable to access console AaronC HP-UX 2 05-31-2005 12:05 PM
Modify Root user account ? hitlermom UNIX for Dummies Questions & Answers 3 09-30-2003 07:30 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-07-2003
xadamz23 xadamz23 is offline
Registered User
  
 

Join Date: Aug 2003
Posts: 31
create or modify user account to have same access as root

Is there a way to create or better yet modify a user account so it has the same privs as root?
  #2 (permalink)  
Old 08-07-2003
xadamz23 xadamz23 is offline
Registered User
  
 

Join Date: Aug 2003
Posts: 31
I guess I should have noted its SunOS 5.7
  #3 (permalink)  
Old 08-07-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Sudo would be what I would recommend.
  #4 (permalink)  
Old 08-07-2003
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
bash solaris

#!/usr/bin/bash
echo "which user: "
read USER
usermod -G root $USER
#end

greetings Preßy
...
..
.
  #5 (permalink)  
Old 08-07-2003
xadamz23 xadamz23 is offline
Registered User
  
 

Join Date: Aug 2003
Posts: 31
Re: bash solaris

Quote:
Originally posted by pressy
#!/usr/bin/bash
echo "which user: "
read USER
usermod -G root $USER
#end

greetings Preßy
...
..
.
This put me in the "root" group but I do not have root privs. Any other ideas?
  #6 (permalink)  
Old 08-07-2003
thehoghunter thehoghunter is offline
Registered User
  
 

Join Date: Jan 2002
Location: Florida
Posts: 84
Although I don't recommend it (get and use sudo instead), this article has some recommendations that are possible (pass it by your security folks first).
  #7 (permalink)  
Old 08-07-2003
meteor06 meteor06 is offline
Registered User
  
 

Join Date: Aug 2003
Posts: 16
vi /etc/passwd
change the user's id to 0
Closed Thread

Bookmarks

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0